On the Flintstones, a small bird sits inside the light and turns it on every night before he goes to bed. In a modern streetlight, a small circuit replaces the bird and turns the light on when the amount of light falls below a certain threshold.