Inside the panel
A panel contains photovoltaic cells. Photovoltaic means turning light into electricity. When a cell absorbs light, its internal electric field pushes charges apart. Connect it to a circuit—a complete path—and charge can flow.
From the panel to the socket
The panel supplies direct current: charge flows in one direction. An inverter turns that into alternating current, which repeatedly changes direction. That is the kind of electricity used by the grid, the network that carries electricity to homes and businesses.
A solar farm on Prince Edward Island
On 16 January 2024, the City of Summerside announced the energizing and grand opening of Sunbank, a solar farm paired with a battery. The panels and the battery have different jobs: the panels generate electricity; the battery can save some energy for later.
Evidence: City of Summerside: Sunbank opening announcement · U.S. Department of Energy: solar energy and storage
What changes after sunset?
An inverter changes the form of electricity, not when sunlight is available. A passing cloud can reduce panel output. After dark, a home needs another supply, such as electricity from the grid or energy stored earlier.
Evidence: U.S. Department of Energy: solar energy and storage