Vaccines are biological preparations that provide immunity to a particular infectious disease. They typically contain an agent resembling a disease-causing microorganism, stimulating the body's immune system to recognize and combat the pathogen in future encounters.