When a large number of children are vaccinated for pneumonia, other children too benefit as the spread of the infection is contained.