The photocell, also known as the light sensor controller, is able to distinguish between morning and evening. This capability is essential for automatically adjusting the brightness of streetlights to ensure they are providing adequate lighting without overburdening the power supply. During the daytime, when natural light is abundant, the photocell reduces the voltage to the streetlights,dimming the lights and conserving energy.