A solar power plant converts sunlight into electrical energy using solar panels. These panels contain solar cells that convert into two types of solar cells: photovoltaic solar cells and thermal solar cells. In photovoltaic solar cells, sunlight is converted into electrical energy, and in thermal solar cells, sunlight is converted into heat, and this heat is converted into electrical energy.