A drug, chemical, or other substance used to kill microorganisms. The term is used specifically for substances that prevent or reduce the transmission of sexually transmitted infections, such as HIV.