The 51 k ohm resistor is where CdS or CdSe photo resistor would go. The 50 k adjustable resistor is linear taper with no swithch to adjust sensitivity to light.
This can be used as budget burglar alarm when light strikes sensor in dark area.
Adjust values for sensor, relay, and resistors you will be using