Solar cells convert what type of energy into electrical energy?

Achemical
Bthermal
Cnuclear
Delectromagnetic