If enough people have immunity to a disease, they can act as shields between those who are infectious and those who are still susceptible – a concept known as herd immunity.

Will there be herd immunity for COVID-19?

https://www.utoronto.ca/news/covid-19-what-s-next-podcast-ep14-vivek-goel-herd-immunity