Here's a breakdown:
* Light energy comes from the sun in the form of photons.
* Electrical energy is the flow of electrons through a circuit.
When photons hit a solar cell, they knock electrons loose from their atoms, creating a flow of electricity.