Solar electric systems contain solar Photovoltaic (PV) modules that convert sunlight to direct current (DC) electricity. When sunlight strikes the array of solar modules, it creates a voltage that causes an electrical current to flow from the array to an inverter.
The inverter converts the DC electricity to alternating current (AC) electricity, which is the same type of electricity supplied by your utility company. AC electricity from the inverter is fed to your existing distribution panel/circuit breaker, where it is then circulated throughout your facility or home.
On sunny days, the solar electric system often generates more electricity than you need. This surplus electricity flows out through the electric meter and into the electric grid, causing your meter to spin backwards and build a credit for the system's owner. On cloudy days and at night, the electric utility will provide whatever electricity is still needed.