A student investigates how the electrical resistance of a light-dependent resistor (LDR) varies with light intensity. They set up the apparatus shown in the diagram, where a movable LED light source is positioned at different distances from the LDR inside a sealed cylinder.

State one reason why using a light-tight cylinder is preferred to conducting the experiment on an open laboratory bench.