ELI5: Explain Like I'm 5

how solar panels works?

Solar panels are special devices that use the energy from the sun to make electricity. They have "cells" inside them that are designed to capture the sun's energy. When the sun's rays hit the cells, they knock electrons loose from the atoms in the cells. The loose electrons then flow through the cell like electricity, creating a current. This current is carried away from the panel by wires and can be used to do useful things like light up a light bulb or power a fan.