The solar panel is a device that converts sunlight into electricity. They are called "solar" panels because most of the time, the most powerful source of light available is the Sun.
A solar panel is a collection of solar cells. The more and stronger light that hits a cell, the more electricity it produces. Lots of small solar cells spread over a large area can work together to provide enough electricity to charge or power on electronic devices such as security cameras.