In a photocell light energy is converted into?

In a photocell light energy is converted into?

A. potential energy
B. chemical energy
C. heat energy
D. electrical energy