When enough people are vaccinated, vaccines can also protect communities from diseases through “herd immunity.” Herd immunity -- also known as “community immunity” -- is achieved when enough people in a given area develop immunity to a disease thereby making further spread unlikely.
In essence, it means the disease has nowhere else to spread. Herd immunity is vitally important to protect individuals, like those with compromised immune systems and those who are too young to be vaccinated.