how does a photovoltaic cell convert light to energy

A: Light turns a turbine

B: Light is stored and changes with heat and pressure

C: Light boils water that creates a current

D: Light excites electrons that create a current