Describe the working principle of an inverter.
An inverter is a device that converts DC (Direct Current) to AC (Alternating Current). It uses electronic circuits to change the voltage, frequency, and waveform of the input power. Inverters are commonly used in solar power systems and for power backup systems.