While it takes only 8 minutes for light to reach Earth from the Sun's surface, photons spend tens of thousands of years "fighting" to escape the Sun's dense core. The sunlight you see today was actually born during the last Ice Age!

We often think of light as the fastest thing in the universe, and it is. But inside the Sun, light has a very hard time getting anywhere.
The Sun's core is incredibly dense. Photons (particles of light) are created by nuclear fusion at the center. To get out, they have to pass through a region called the Radiative Zone. This area is so packed with atoms that the light can't travel in a straight line.
Imagine trying to run through a giant crowd of people who keep bumping into you.
Because of these billions of collisions, it takes a photon between 10,000 and 170,000 years (with 40,000 being the average estimate) to finally reach the surface. Once it hits the surface and enters the vacuum of space, it finally flies free, reaching your eyes in just 8 minutes and 20 seconds.
The warm sunlight on your skin today is an ancient traveler. It began its journey when mammoths still roamed the Earth and humans were just starting to paint in caves.