STIs are transmitted through the exchange of bodily fluids such as semen, vaginal fluids, and blood. Some infections can also be transmitted through skin-to-skin contact. The risk of transmission depends on several factors, including the type of sexual activity, the presence of protective measures like condoms, and the STI status of the partners involved.