Solar panels generate DC (Direct Current) electricity when sunlight hits them.
But here’s the problem:
Homes and appliances use AC (Alternating Current)
DC power from panels cannot be used directly
👉 That’s where the inverter comes in.
A solar inverter converts DC → AC using electronic switching.
Simple idea:
DC is steady (one direction)
AC switches direction rapidly (like a wave)
Inside the inverter:
It takes DC input from panels
Uses high-speed electronic switches
Creates a wave-like AC output (usually sine wave)
Matches your home’s voltage and frequency (e.g., 230V, 50Hz)