A light sensor circuit activates when light is detected by the circuit. The second circuit has a relay as an additional component.
transistors - Simple darkness sensor with ldr - Electrical Engineering Stack Exchange
Fun with LEDs
How to Build a Touch Sensor Circuit
Simple Ambient Light Sensor Circuit
Simple Light Sensor Circuit
Simple Motion Sensor Alarm Light
The Answer is 42!!: How to design a simple light dark detector
Simple Light Sensor Circuit with Applications
Simple Motion Sensor Alarm & Light
I'm making a simple dark sensor project with a light dependent resistor (LDR) and I want to replace the LED with a buzzer but it doesn't work - Electrical Engineering Stack Exchange
How To Make Light Sensor Circuit, DIY Light Sensor Using LDR & Photodiode, Simple DIY Projects