Learn first
A fair comparison needs a plan
An investigation uses observations to test a question. A variable is something that can change. A fair comparison keeps relevant conditions alike except the factor being tested.
How to work it out Name the changed factor, the measured outcome, and what stays alike. Repeated trials help reveal variation; they do not guarantee a claim is true.
A separate example To compare two separate paper shapes, use the same paper and drop height. Changing paper, shape, and height together makes the cause harder to identify.
To investigate one factor, deliberately vary it while keeping relevant conditions alike and measuring the same outcome. Repeated trials help assess variability. Matching conditions does not guarantee that every hidden factor is controlled.
Worked example
To compare light duration for similar seedlings, vary light duration while matching water, containers and measurement timing.