Vaccines work by mimicking infection with a particular disease, prompting the immune system to develop a response without causing the disease itself. This process builds immunity, so if your child is exposed to the disease in the future, their immune system can fight it off more effectively. Vaccination is one of the most effective ways to prevent disease and its complications.