Vaccines are biological preparations that provide immunity to specific diseases. They contain weakened or killed forms of the microbe, its toxins, or one of its surface proteins. By stimulating the body's immune system to recognize and fight the pathogens, vaccines help prevent illnesses.