HelpContactFor teachers and institutes
>_StemPy Lab
Mock TestsClasses

>_StemPy Lab

Learn. Solve. Code the solutions. Test yourself.

Live examsFree mock exams, timed and rankedEveryone starts together, and your score and rank come the moment it ends.See the exams →
Live examsInternational live exams are comingTell us which exam you want first. Timed practice papers are open now.See what is coming →

Learn

  • Physics
  • Chemistry
  • Mathematics
  • Biology
  • Python Programming
  • Statistics & Data Science
  • Computer Science
  • Space Science and Astronomy
  • Earth and Environmental Science
  • Classes
  • Groups

Practice

  • Problems
  • Quizzes
  • Mock Tests
  • Prepare for an Exam
  • Question Sets
  • Exams
  • Certificates
  • Python Labs
  • AI Practice Generator
  • Student-Created Tests

Community

  • Discussions
  • Resources
  • Notes
  • Glossary
  • Blog

Account

  • Log in
© 2026 senLearn. All rights reserved.HelpFor SchoolsAboutContactPrivacy PolicyTerms of UseRefund Policy
The Sun: Structure, Activity and Safe Observing
  1. 1Inside the Sun and how it shines
  2. 2Sunspots, flares and the solar cycle
  3. 3The solar wind and observing the Sun safely
  1. Space Science and Astronomy
  2. /The Sun: Structure, Activity and Safe Observing
  3. /Inside the Sun and how it shines

Course 7.1·Lesson 1 of 3

Inside the Sun and how it shines

The Sun is a ball of hot gas, mostly hydrogen and helium, with a core at about 151515 million K where hydrogen fuses into helium. The energy leaks out through layers to the photosphere, the visible surface, at about 5800 K5800\ \text{K}5800 K. Above it lie the chromosphere and the corona.

about 35 min
Lesson 1 of 3Show all lessonsHide
The Sun: Structure, Activity and Safe Observing
  1. 1Inside the Sun and how it shines
  2. 2Sunspots, flares and the solar cycle
  3. 3The solar wind and observing the Sun safely

Try the code and the simulations beside the lesson.

Light that left eight minutes ago

Step outside on a sunny day and feel the warmth on your face. That light left the Sun about 8.38.38.3 minutes ago. It crossed 149.6149.6149.6 million km of empty space to reach you.

What is the thing that shines so brightly? It is not on fire like a candle, and it is not a solid ball. The Sun is a star, a huge ball of hot gas that makes its own light.

The size and make-up of the Sun

  • Size. The Sun's radius is 695 700 km695\,700\ \text{km}695700 km. That is about 109109109 times the radius of the Earth. More than a million Earths would fit inside it.
  • Mass. The Sun has 1.989×1030 kg1.989 \times 10^{30}\ \text{kg}1.989×1030 kg of matter. That is about 99.9 %99.9\ \%99.9 % of all the mass in the Solar System.
  • Make-up. By mass the Sun is about 73 %73\ \%73 % hydrogen and 25 %25\ \%25 % helium. Everything else adds up to about 2 %2\ \%2 %.
  • Power. The Sun gives out 3.828×1026 W3.828 \times 10^{26}\ \text{W}3.828×1026 W. This is its luminosity.

The Sun is a star of medium size. Some stars are a hundred times wider, and many are much smaller. It looks so bright to us because it is very close, only 1 AU1\ \text{AU}1 AU away.

The layers of the Sun

The Sun has no surface to stand on, but it does have layers. Here they are, from the middle outwards.

A cut-away drawing of the Sun, with a quarter of the picture removed to show the inside. From the middle outwards the layers are labelled: core, up to a quarter of the way to the surface, at about 15 million kelvin where fusion happens; radiative zone, out to seven tenths of the radius; convective zone, the outer 30 per cent, shown with rising and sinking arrows; then the photosphere, a thin bright skin and the visible surface at about 5800 kelvin. Outside it a thin pink chromosphere and a wide pale corona with streamers are drawn. Three dark sunspots on the surface, an arching prominence at the left edge and a small flare at the lower edge are also shown.
LayerWhereTemperature
Coreinner quarter151515 million K
Radiative zoneto 0.70.70.7 radius777 to 222 million K
Convective zoneouter third222 million to 600060006000 K
Photospherethe visible skinabout 580058005800 K
Chromosphereabove that400040004000 to 25 00025\,00025000 K
Coronamillions of km111 to 333 million K
  • The core. This is where the Sun makes its energy. The gas here is squeezed to about 150150150 times the density of water.
  • The radiative zone. Energy moves outwards as light. Each packet of light is absorbed and sent out again, millions of times. It takes many thousands of years to get through.
  • The convective zone. The gas is cooler here, so it is opaque and boils. Hot gas rises and cooler gas sinks, as in a pan of soup. This carries the energy to the top.
  • The photosphere. This is the layer we see, only about 500 km500\ \text{km}500 km thick. It looks covered in bright grains called granules, each about 1000 km1000\ \text{km}1000 km across. These are the tops of rising columns of hot gas.
  • The chromosphere. A thin red-pink layer above the photosphere, seen as a ring in a total eclipse. "Chromo" means colour.
  • The corona. A pale halo of thin gas that reaches millions of km out. It is much hotter than the surface, and astronomers still study how magnetic energy heats it. We see it clearly only in a total eclipse, or with a special telescope.

How the Sun shines: fusion

For a long time nobody knew what kept the Sun hot. Burning coal would have run out in a few thousand years. The Sun has shone for about 4.64.64.6 billion years.

The answer is nuclear fusion. In the core the temperature is about 151515 million K and the pressure is huge. Hydrogen nuclei are moving so fast that they smash together, even though they push each other apart. In a series of steps, called the proton-proton chain in outline, four hydrogen nuclei become one helium nucleus.

The helium nucleus has a little less mass than the four hydrogen nuclei that made it. About 0.7 %0.7\ \%0.7 % of the mass has vanished. It has become energy, by Einstein's equation:

E=mc2\displaystyle E = mc^2E=mc2

The energy leaves as light and as fast particles. The Sun also sends out tiny particles called neutrinos. They pass straight through the Sun and out into space, and they prove that fusion is happening in the core.

Worked example. How much mass does the Sun change into energy each second?

  1. The power. P=3.828×1026 WP = 3.828 \times 10^{26}\ \text{W}P=3.828×1026 W, so every second 3.828×1026 J3.828 \times 10^{26}\ \text{J}3.828×1026 J leaves the Sun.
  2. The mass. m=E/c2=3.828×1026/(2.998×108)2=4.26×109 kgm = E/c^2 = 3.828 \times 10^{26} / (2.998 \times 10^8)^2 = 4.26 \times 10^9\ \text{kg}m=E/c2=3.828×1026/(2.998×108)2=4.26×109 kg.
  3. Compare. That is about 444 million tonnes every second. The Sun is so massive that this is a tiny loss.

A star in balance

Gravity pulls the Sun's gas inwards. The hot gas pushes outwards. The two forces balance at every layer, so the Sun stays the same size. If the core cooled, the Sun would shrink and heat up until fusion made up the loss. This balance is why a star shines steadily for billions of years.

Sunlight and distance

Sunlight spreads out over a larger and larger sphere as it travels. Its strength falls as 1/d21/d^21/d2. At 1 AU1\ \text{AU}1 AU the strength is 1361 W/m21361\ \text{W/m}^21361 W/m2, called the solar constant. At a distance ddd in AU,

S=1361d2 W/m2\displaystyle S = \dfrac{1361}{d^2}\ \text{W/m}^2S=d21361​ W/m2

The Sun's luminosity is the strength at 1 AU1\ \text{AU}1 AU times the area of a sphere of that radius: L=4πd2S=3.83×1026 WL = 4\pi d^2 S = 3.83 \times 10^{26}\ \text{W}L=4πd2S=3.83×1026 W.

Practise with new numbers

Try it in Python

The program works out how much matter the Sun changes into light, and how long that can go on.

Predict first. Is the mass lost each second a large share of the Sun's mass? Then run it. Check with Show the answer.

1. Change fraction = 0.007 to fraction = 0.002. How does the hydrogen fused each second change?

2. Change the last line to use 1e11 years. Is the share still small?

Common mistakes

  • Saying the Sun burns, like a fire. A fire needs oxygen and would use up its fuel quickly. The Sun shines by fusion.
  • Thinking the surface is the hottest part. The surface is about 5800 K5800\ \text{K}5800 K. The core is about 151515 million K.
  • Thinking that the Sun is solid. It is gas all the way through, and the photosphere is only the layer that light escapes from.
  • Forgetting to square the distance. At twice the distance, sunlight is a quarter as strong, not half.

Remember these

  • The Sun's radius is about 109109109 Earth radii, and it holds almost all the Solar System's mass.
  • By mass it is about 73 %73\ \%73 % hydrogen and 25 %25\ \%25 % helium.
  • The layers are the core, radiative zone, convective zone, photosphere, chromosphere and corona.
  • Fusion in the core turns hydrogen into helium. About 0.7 %0.7\ \%0.7 % of the mass becomes energy, E=mc2E = mc^2E=mc2.
  • Sunlight falls as 1/d21/d^21/d2: S=1361/d2 W/m2S = 1361/d^2\ \text{W/m}^2S=1361/d2 W/m2 with ddd in AU.

Check yourself

Try each one on your own first. If you are stuck, open a hint. Then check with Show the answer.

  1. Which layer of the Sun do we see when we look at it?
  1. Why is the corona seen clearly only in a total eclipse?
  1. How does the energy made in the core reach the surface?
  1. At 4 AU4\ \text{AU}4 AU from the Sun, how does the strength of sunlight compare with the strength at the Earth?

References

  • OpenStax Astronomy 2e, Chapter 15 The Sun: A Garden-Variety Star, sections 15.1 and 15.2.
  • OpenStax Astronomy 2e, Chapter 15, section 15.3 (the solar atmosphere).

Enroll free in The Sun: Structure, Activity and Safe Observing

Every lesson is open to read. Enrolling also lets you:

  • Mark lessons done and carry on where you stopped.
  • Take the tests of this lesson and its course.
  • Count the course towards the certificate for its chapter.
No payment. You can leave at any time.

Problems (4)

The Sun's radius is 695 700 km and the Earth's radius is 6371 km…Easy · High School (9–10) · by StemPy Lab
The strength of sunlight at the Earth, 1.496 × 10¹¹ m from the Sun, is 1361 W/m²…Medium · High School (9–10) · by StemPy Lab
Light is made when matter disappears. Each second the Sun radiates 3.828 × 10²⁶ J, and fusion turns…Hard · High School (9–10) · by StemPy Lab
Next: lesson 2Sunspots, flares and the solar cycle
← The Sun: Structure, Activity and Safe Observing
← PreviousSunspots, flares and the solar cycle →

Discussion (0)

Log in to join the discussion.

Loading…

1 simulation
2 practice questions
1 Python program
5 questions to check yourself

This lesson is free to read. Enroll free to keep your place and take the tests.

Suppose that a tenth of the Sun is fuel that can be fused, and that fusion turns 0.7 % of that fuel…Hard · High School (9–10) · by StemPy Lab

Python Labs (1)

The Sun's numbers in codePython Lab · by StemPy Lab