How scientifically during sex our STDs transmitted?

Depends. Various STDs have various modes of transmission. Mostly, mucous membrane to mucous membrane contact transfers enough living organisms to the new host to cause an infection and then possibly a carrier state, with or without symptoms. Some STDs require blood transfer.