In epidemiology, many factors can influence disease outcomes. If these factors are not accounted for, they can confound the relationship between the exposure and the outcome, leading to biased or misleading results. For instance, when studying the association between smoking and lung cancer, one might need to adjust for age, gender, and other lifestyle factors.