Babies are born with protection against some diseases because their mothers pass antibodies (proteins made by the body to fight disease) to them before birth. Breastfed babies continue to get more antibodies in breast milk. But in both cases, the protection is temporary.
Germs can be viruses (such as the measles virus) or bacteria (such as pneumococcus). Vaccines stimulate the immune system to react as if there were a real infection. It fends off the "infection" and remembers the germ. Then, it can fight the germ if it enters the body later.
Most of your child’s vaccinations are completed between birth and 6 years. Many vaccines are given more than once, at different ages, and in combinations. This means that you’ll need to keep a careful record of your child's shots.