People have so many doubts regarding solar lights and their working, some of them are
1) Does solar light need the sun or just light? 2) Does the solar panel work in winter?
Here I try to resolve your doubts,
Solar light is meant to run because of sunlight. This is explained by the fact that they use solar panels, which capture solar energy and convert it into electricity. The photovoltaic cells in a solar panel absorb sunlight to generate electrical energy, which is stored in a rechargeable battery. It is this stored energy that is used to light up during the night or in low light.
Although they work best in direct sunlight, solar lights can function in indirect light or on cloudy days. The period and strength of sunshine are directly proportional to the energy produced and stored. Where solar lights have inadequate solar energy input, they may not be able to get full charges; thus, their light emission at night will either be lower or the lighting period will be shorter than usual.
Specifically, solar lights require natural sunlight—not just light. Artificially created light sources, such as streetlights or any indoor lighting, are usually too weak to be of use in charging a solar panel. Therefore, fixing the solar lights in a place with adequate sunlight during the day is necessary.
Solar lights will work efficiently, particularly in the presence of some sunlight. Although they can operate with as low as possible solar intensity, having the light placement exposes it to directly natural sunlight for it to be fully charged and shines reliably during the night. Proper placement in a sunny location will maximize their effect and durability and can be a sustainable energy-efficient means of lighting.