This circuit detects when the power goes out and automatically turns on some white leds as emergency lighting.
When the primary voltage source (such as a wall adapter) is on, the green led is dimly on. When the primary voltage source is off (ie the power goes out), the secondary source (4xaa batteries) is activated, turning on 4 white leds.