Vaccines train and equip your immune system to fight many disease-causing germs that attack it. Being injected with a vaccine allows your body to prepare the resources needed to fight off any live versions of that disease.