The solar panel is a device that converts light 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 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 energy to power electronic devices such as security cameras.