Stratification in epidemiology is a technique used to control for confounding factors by dividing study participants into subgroups (strata) based on certain characteristics. This allows researchers to analyze the data more accurately and draw more reliable conclusions about the relationships between exposures and outcomes.