A control variable is an element that is kept constant throughout an experiment to ensure that the effect of the independent variable on the dependent variable is accurately measured. It helps isolate the relationship between the variables of interest by eliminating the influence of external factors.