Social behavior affects disease dynamics in several ways. Animals that live in close-knit groups, such as primates, can experience rapid transmission of diseases due to frequent physical contact. On the other hand, solitary animals may have a lower risk of transmission but can still act as reservoirs for diseases. The grooming behavior in primates, while beneficial for removing parasites, can also facilitate the spread of pathogens.