Which of the following functions is performed by a photo cell?

A ) It converts chemical energy into electrical energy

B ) It converts magnetic energy into electrical energy

C ) It converts light energy into electrical energy ✅

D ) It converts electrical energy into light energy