What is a sexually transmitted infection (STI)?

An STI is any infection that can spread via sex. (Some STIs can also be spread in other ways.)