panels fitted to your roof generate electricity when exposed to sunlight these panels are connected to an inverter to convert the solar generated dc (direct current) electricity to ac (alternating current) electricity suitable for household use the solar-generated electricity is consumed by your appliances...