Residential solar systems, also called photovoltaic (PV) systems, convert sunlight into electricity by using solar panels. Solar panels consist of many small photovoltaic cells that are connected together to form a module. When sunlight hits the cells, it excites electrons and causes them to move, creating a direct current (DC) electricity. An inverter converts the DC electricity into alternating current (AC) electricity, which can be used to power homes.