Selection bias occurs when the participants included in a study are not representative of the target population. This can happen due to non-random sampling methods, volunteer bias, or loss to follow-up. Selection bias can lead to incorrect estimates of disease risk and hinder the generalizability of the study findings to the broader population.