A vaccine is a biological preparation that provides active acquired immunity to a particular infectious disease. It typically contains a weakened or killed form of the microorganism responsible for the disease or its proteins. Vaccines work by stimulating the immune system to recognize and remember the pathogen, thus providing protection if the person is exposed to the actual infectious agent in the future.