Here are the steps that describe how solar panels produce electricity:- Solar panels absorb sunlight and become active. The solar cells on solar panels produce electricity (Direct Current). DC electricity is not the type of power that most homes use. Solar inverters convert direct current into Alternating Current (AC) electricity. Then the alternating current is distributed to your home through your electrical panel.