Many animals groom themselves and each other to pull off parasites like ticks, lice, fleas and mites, and to remove dirt, fungal spores and loose skin that could harbor microbes. Grooming also spreads protective substances: some species, such as certain primates and rodents, lick or rub on saliva and secretions with antimicrobial properties.
Social grooming, where one animal cleans another, is especially effective because it reaches areas an animal cannot easily reach itself, like the head, neck and back. Research on primates and other social mammals suggests grooming also helps reduce parasite loads across a group, which lowers the chance that an infection spreads from one member to the rest.