Understanding how organisms fight infection has been a central focus of scientific research and medicine for the past couple of centuries, and a perennial object of trial and error by humans trying to mitigate the burden of disease. Vaccination success relies upon the exposure of susceptible individuals to pathogen constituents that do not cause (excessive) pathology and that elicit specific immune memory. Mass vaccination allows us to study how immunity operates at the group level; denser populations are more prone to transmitting disease between individuals, but once a critical proportion of the population becomes immune, “herd immunity” emerges. In social species, the combination of behavioural control of infection—e.g., segregation of s...