A vaccine contains an agent that resembles a disease-causing microorganism and is made from weakened or killed forms of the microbes, its toxins or one of its surface proteins. The agent stimulates the body's immune system to recognize the agent as a threat, destroy it and keep a record of it so that the immune system can more easily recognize and destroy any of these microbes that it later encounters.