In herd immunity, only some of the inhabitants are immunised and others develop immunity themselves. It is a form of indirect protection from infectious diseases that occurs when a large percentage of population has become immune to an infection. It provides a measure of protection for individuals who are not immune.