Photovoltaics is the technology that converts solar energy into electrical energy. This is done using solar cells, which are used in solar panels.