Vaccine is an antigen protein of pathogens or inactivated or weakened pathogens or their toxin. When it is introduced into the body of a person who is required to be made immune it stimulates the production of antibody and memory cell which is called primary response. It does not cause harm when this pathogen enters second time. These memory cells show rapid and massive responses so body become immune to this pathogen.