A vaccine is a safe artificial way of protecting you from a disease before you are exposed to it.
Your immune system is the part of your body that fights infection and stops you getting sick. Vaccines make your immune system produce antibodies which fight off a disease if you get infected with it after having the vaccine.