The solar panel converts sunlight into electricity during the day, which is stored in a rechargeable battery.
At night, the motion sensor detects movement and activates the light, providing illumination for a set period.
When no motion is detected, the light turns off to conserve energy.