Vaccines are developed to safeguard people from exposure to a disease -- in this case , SARS-CoV-2. The purpose of a vaccine is to train your immune system to detect and fight the virus, even if that it hasn't encountered before. Although vaccines mimic an infection but they rarely result in illness. The vaccines also protect the population by limiting the spread of diseases between people. This protection is also known as herd or community immunity.