A photovoltaic cell uses semiconductor materials to convert light into electrical energy. Sunlight creates mobile electrical charges, and the device's internal structure separates those charges to generate direct current.
Most buildings and electricity networks use alternating current, so a solar installation generally relies on an inverter to convert the panel's DC output into AC power suitable for the intended application.
Panel output changes with light conditions, orientation, shading, temperature and equipment losses. A system's rated capacity is therefore different from the electricity it actually generates over a day or year.
Solar can be deployed on rooftops and at utility scale, but its value to a power system also depends on when it produces electricity, local demand, grid capacity and available flexibility such as storage or demand response.