The Sun fuses hydrogen into helium in its core, where temperatures reach roughly 15 million kelvin. Energy leaves the core as gamma rays, but it is absorbed and re-emitted so many times on the way out that a photon may wander for tens of thousands of years before reaching the surface. Once free, that light crosses the 149.6 million kilometres to Earth in about 8 minutes 20 seconds. When you look at the Sun you see it as it was, not as it is. The same idea scales outward: light from the nearest star beyond the Sun, Proxima Centauri, has travelled over four years to reach you.