Attrition bias occurs when participants drop out of a longitudinal study over time, and the loss is not random. This can lead to systematic differences between those who remain in the study and those who leave, potentially distorting the study results. Attrition bias is a significant concern in epidemiological studies, where follow-up over time is crucial.