A vaccine is a biological preparation that improves immunity to a particular disease. A vaccine typically contains an agent that resembles a disease-causing microorganism, and is often made from weakened or killed forms of the microbe. The agent stimulates the body’s immune system to recognize the agent as foreign, destroy it, and “remember” it, so that the immune system can more easily recognize and destroy any of these microorganisms that it later encounters.
http://youtu.be/n6g76IbawWo
Vaccines can be prophylactic (e.g. to prevent or ameliorate the effects of a future infection by any natural or “wild” pathogen), or therapeutic (e.g. vaccines against cancer are also being investigated; see cancer vaccine).