The Radiative and Convection Zones
After being generated in the core, gamma rays move to the radiative zone.
Here they fight their way across gas so dense it's opaque, getting absorbed and re-emitted many times.
In the convective zone, energy bubbles to the surface like a lava lamp.
Total time for a photon to migrate from core to surface: about 1 million years.