Sunlight on photovoltaic modules ( Solar Panels) produces direct current (DC) electricity which is converted to alternating current (AC) by a device called an Solar inverter, which is then wired into your main service panel ( House load) where it feeds your home power grid.
![How do photovoltaics work?](https://solartechy.com/wp-content/uploads/2020/11/7.5kv-Offgrid-system-768x448-1.png)