When sunlight hits a solar panel, the panel starts generating DC (Direct Current) electricity. The DC electricity is fed into a solar inverter that converts it into AC (Alternating Current) electricity. AC electricity is used to power homes, businesses and communities. Any excess power that you generate goes into the main power grid if your system is grid-tied. If your system is off-grid, any excess electricity is stored in a battery pack.