Preventive vaccines are biological preparations designed to provide immunity against specific infectious diseases. They work by stimulating the body's immune system to recognize and fight pathogens such as bacteria, viruses, or parasites. Vaccines can contain weakened or inactivated forms of the pathogen, or they may include fragments of the pathogen like proteins or sugars.