Sample bias occurs when the participants selected for a study are not representative of the population intended to be analyzed. This can lead to skewed results that do not accurately reflect the true nature of the population. Sample bias can arise from various sources, including selection criteria, recruitment methods, and response rates.