How do solar panels convert the sun’s energy into electricity?

The sun transmits energy in the form of electromagnetic radiation. When this radiation is absorbed by the solar cells, rapid electron movement occurs within the atoms of the material. Because of the way the cells are manufactured with layers of material with differing atomic structures, the electrons are forced to move in one direction, creating direct current, or DC. It then flows into an inverter which converts the DC into alternating current, or AC, to be usable in your home or business.