No. Anyone who has unprotected sex, uses un-sterilized injecting equipment, or has a transfusion with contaminated blood can become infected with HIV. Infants can be infected with HIV from their mothers during pregnancy, during labour or after delivery through breastfeeding. Worldwide, 90% of HIV cases are the result of sexual transmission, and 60–70% of HIV cases occur among heterosexuals.
Does HIV only affect men who have sex with men and people who inject drugs?

