How solar panels generate electricity
Solar panels (photovoltaic cells) convert sunlight into direct current (DC) electricity. An inverter then converts DC into alternating current (AC) for use in your home or building. Excess energy is either stored in batteries or exported back to the grid depending on your system configuration.
