Solar photovoltaics harness the energy of the sun to generate electricity. This process involves specialized materials called semiconductors that convert sunlight into a flow of electrons, resulting in direct current (DC) electricity. This electricity can then be transformed into alternating current (AC) for use in buildings. Photovoltaic cells are