An inverter is one of the most important pieces of equipment in a solar energy system. It a device that converts direct current (DC) electricity, which is what a solar panel generates, to alternating current (AC) electricity, which the electrical grid uses.