because the core of the sun is denser than its surface, the resulting gravitational potential warps time. as a result, the sun's core is 39,000 years younger than the surface.
the same is true of earth, but on a smaller scale: the core is about 2.5 years younger than the crust.