How do solar panels work?

Solar panels are made of solar cells that consist of wafers of semiconductor material, usually silicon. When solar radiation hits the solar panel, the solar cells absorb the energy and convert it into direct current. An inverter is then used to convert that direct current into alternating current that can be used in the home.