At its most basic, a solar power system consists of photovoltaic panels, an inverter and the wiring to connect them to each other and to the mains power. The PV panels generate DC (direct current) electricity from sunlight and the inverter converts the DC power into usable AC (alternating current) power.