Herd immunity protects communities from disease outbreaks. It's reached when enough people are vaccinated or otherwise immune that the disease can't spread. Then, the people who are most vulnerable due to age or illness aren't exposed to the illness.