Vaccines are used to expose the immune system to harmful antigens and teach the body how to fight back. Vaccines contain a form of dead or weakened pathogens. This causes our body to release antibodies in response to this type of pathogen.
After fighting off the vaccine, the body retains a lasting memory of how to fight off that particular type of attack. Watch this animation to learn more.