The vaccine contains either dead or attenuated pathogens, or they can contain just antigens from the pathogen. When one is injected with a vaccine the white blood cells within the body are able to recognise the antigens as foreign and will then engulf the pathogen and present their antigens on their own cell surface.Specific T lymphocytes within the body will bind to these antigens and stimulate B lymphocytes to proliferate and differentiate into B Plasma Cells which can produce antibodies that destroy the pathogen. The B cells also produce memory cells so that on further exposure to the same microorganism the antigen can be recognised and the response by the immune system is faster and there is greater production of antibodies.