Solar lights work by storing the power of the sun during the day for use at night. Because these systems are small, they don’t require much energy to work and are usually pretty cost-effective.
You can use multiple light sources to charge solar lights, but they work best with sunlight, so it's almost always better to leave them out in the sun. They use the same technology as solar panels, ...