Stratification is used to control for confounding variables and to ensure that comparisons between groups are more accurate. By dividing the population into homogeneous subgroups, researchers can isolate the effects of the independent variable more effectively. This technique is crucial in studies aiming to determine the [causal relationships]() between risk factors and health outcomes.