The circuit above is an light sensitive automatic switch which functions in absence of light. The IC 4060 works as an oscillator and the generated signal is applied to the base of T4 transistor.
Here is a simple and low cost automatic bathroom light circuit. The light automatically turns on when the bathroom door is opened, and remains lit in the occupied state. When the door is opened again ...