Cutting off the light that falls on the LDR causes the relay to be triggered. The light source may be other than the one indicated. The circuit is powered by 6 V or as per relay and buzzer.

Cutting off the light that falls on the LDR causes the relay to be triggered. The light source may be other than the one indicated. The circuit is powered by 6 V or as per relay and buzzer.