The factor that is different between the control and experimental groups is known as independent variable. The value you measure during the experiment and what is affected is known as dependent variable.
Explanation:
The variable is independent because it does not depend on what happens in the experiment. The variable that depends on independent variable is dependent variable.
The condition that exist in different amounts and types are tested using test variables. Independent variables are marked as x-axis and dependent variable as y-axis.