Solar Panels are made of silicon, a semiconductor and the 2nd most common element on earth. When sunlight (photons) hits the photovoltaic cells in the solar panels, the energy excites the electrons, causing movement and creating an electric current initially in Direct Current (DC) form. This energy flows into inverters, which convert DC power to alternating current (AC) power. are then used to convert DC power to alternative current (AC) power, which is used to power your home.
The AC power generated can power your home, or charge your battery system if your home has one. Excess energy can be sent back into the grid for credits, aligned with the Net Metering system. Watch this helpful video below.