Widespread vaccination campaigns can prevent outbreaks of disease (epidemics). This is because if a large enough portion of the population is vaccinated, it makes the spread of disease from person to person unlikely. As a result, the whole population becomes protected - not just those who are immune. We sometimes call this herd immunity.