The solar cells are the decives that converts the solar energy into electricity.
When the solar radiation hits the surface of the panel, the electrons are ejected and are used to power the electrical appliances.
Solar radiations are nothing but electromagnetic radiations. Theses radiations carry energy which is converted into electrical energy by the solar panels.
Thus the solar panels convert the electromagnetic energy into the electric potential energy.
Therefore the correct answer is option 4.