The sun shines because of nuclear fusion happening deep in its core. Every second, roughly 700 million tons of hydrogen are fused into helium, and a small fraction of that mass is converted directly into energy. That energy eventually reaches the surface and radiates outward as the light and heat we experience on Earth.
Fusion: The Engine at the Core
The sun is essentially a giant hydrogen bomb that has been detonating in slow motion for 4.6 billion years. Its fuel is hydrogen, which makes up about 71% of its mass. Helium accounts for another 27%, with trace amounts of oxygen, carbon, iron, and other elements making up the rest.
The process that converts hydrogen into helium is called the proton-proton chain. It starts when two protons (hydrogen nuclei) collide with enough force to overcome their natural electrical repulsion and fuse together. During this collision, one proton transforms into a neutron, releasing a tiny particle called a neutrino and a positron (a particle of antimatter). The neutron and remaining proton bind together to form deuterium, a heavier version of hydrogen. Deuterium nuclei then fuse with additional protons, and after several more steps, the end product is a helium nucleus: two protons and two neutrons bound tightly together.
Here’s the key detail. A helium nucleus weighs slightly less than the four hydrogen nuclei that went into making it. That missing mass doesn’t vanish. It becomes energy, following Einstein’s famous equation E=mc². The sun loses about 4.3 billion grams of mass every single second this way, all of it converted into raw energy. That sounds like a lot, but relative to the sun’s total mass, it’s negligible.
Why Fusion Happens in the Core
Protons are positively charged, so they repel each other. Under normal conditions, they’d never get close enough to fuse. The sun’s core solves this problem with extreme heat and pressure: temperatures reach 15 million degrees Celsius, and the pressure is about 250 billion times Earth’s atmospheric pressure. Under these conditions, hydrogen nuclei move fast enough and are squeezed close enough together that some of them overcome their repulsion and collide. Even then, most collisions don’t result in fusion. The process is surprisingly inefficient on a per-particle basis, but the core contains so many particles that the total energy output is enormous.
What Keeps the Sun From Exploding or Collapsing
The sun exists in a delicate balance. Gravity pulls all of its mass inward, constantly trying to crush it into a smaller and smaller ball. At the same time, the intense heat generated by fusion creates outward gas pressure that pushes back against gravity. These two forces are precisely balanced, keeping the sun at a stable size. Astronomers call this hydrostatic equilibrium.
If fusion temporarily increased, the core would heat up, expand slightly, and cool down, reducing the fusion rate. If fusion slowed, gravity would compress the core, heating it back up and restarting the process. This self-correcting feedback loop has kept the sun burning steadily for billions of years.
The Long Journey From Core to Surface
Energy produced in the core doesn’t reach the surface quickly. A photon generated by fusion takes roughly 10,000 years to travel from the core to the sun’s surface, even though light in open space covers the same distance in about two seconds. The reason is collisions. The sun’s interior is so dense that photons are constantly absorbed and re-emitted by surrounding particles, bouncing in random directions like a ball in an impossibly thick crowd.
For the first 70% of the journey outward, energy moves through what’s called the radiative zone. Here, photons slowly zigzag their way through extremely dense, hot plasma. The temperature at the outer edge of this zone is still millions of degrees, but the density drops significantly from the core’s 150 grams per cubic centimeter to about 20.
Beyond the radiative zone, conditions change. The plasma becomes cool enough (relatively speaking) that it can no longer efficiently pass energy along through radiation. Instead, hot plasma physically rises toward the surface while cooler plasma sinks, creating rolling convection currents similar to water boiling in a pot. This convective zone carries energy the rest of the way to the surface much more efficiently.
Where Light Finally Escapes
The visible surface of the sun is called the photosphere. It’s a thin layer, only a few hundred kilometers thick, where the plasma is finally cool and thin enough that photons can escape into space without being immediately reabsorbed. The photosphere’s temperature is around 5,500°C, a fraction of the core’s 15 million degrees but still hot enough to glow brilliant white. The light you see when you glance at the sun left this layer about 8 minutes ago, but the energy it carries was generated in the core thousands of years before that.
Above the photosphere sit two outer atmospheric layers. The chromosphere is a thin reddish layer visible during solar eclipses. Beyond it, the corona extends millions of kilometers into space with temperatures exceeding 1,000,000°C. Why the corona is hundreds of times hotter than the surface below it remains one of the biggest open questions in solar physics.
How Long the Sun Will Keep Shining
The sun has been fusing hydrogen for about 4.6 billion years and has roughly 5.4 billion years of hydrogen fuel remaining. Its total main-sequence lifetime (the phase where it steadily burns hydrogen) is about 10 billion years. After that, it will spend another 1.5 billion years or so burning heavier elements before eventually shedding its outer layers and shrinking into a white dwarf.
So the short answer to what makes the sun shine: gravity squeezes hydrogen so tightly that atoms fuse together, converting a tiny bit of mass into an enormous amount of energy. That energy fights its way to the surface over thousands of years, then radiates across 150 million kilometers of space to warm your face in about eight minutes.

