Excitation of electrons.

When a chlorophyll pigment absorbs a photon of light, electrons are excited to an unstable high-energy state.

When the electrons fall back to the ground state, the energy is released.

This energy can be visualized by illuminating a solution of chlorophyll and observing the light (fluorescence) and heat.

A spinach battery: