Process of transferring microorganisms (e. g. bacteria, fungi, viruses) from a source of infection to a new host. Transmission paths include direct transmission via contact or smear infection, via droplets or aerosols from the air, via contaminated food, contaminated water, or via blood and transfusions, respectively.