It starts with solar panels that turn sunlight into DC electricity through a process called the “Photovoltaic Effect”. Photons, which are energy packets in sunlight, knock electrons loose within+ the solar cells that make up a solar panel. Those loose electrons are what create electricity.
An inverter changes the DC power generated by the solar panel into useful AC electricity to power your home. If the solar produces more power than you need, the excess power can be fed to the utility for credit or stored in batteries.