🌟🔭

What are stars made of?

Stars are SO far away that no rocket has ever flown to one. We can't scoop up a piece of a star to test it. So here is the big puzzle:

If we can never touch a star… how do we know what it is made of?

The amazing answer: a star sends us a secret message inside its light. In this lesson you'll learn to read that message — just like a real space scientist! 🚀

Tap Next to begin.

Step 1: Light is a hidden rainbow 🌈

White light from a star looks plain. But when light passes through a special glass shape called a prism, it spreads out into a rainbow of colours.

Tap the prism to send light through it
A raindrop can act like a prism too — that's why you see a real rainbow after rain! 🌦️

Step 2: The rainbow has a barcode 📊

Here's the magic part. When you look very closely at a star's rainbow, some thin dark lines are missing, like gaps in a comb.

Each kind of stuff — like hydrogen or helium gas — soaks up its OWN special colours. So it leaves its OWN pattern of dark lines. It's like a barcode or a fingerprint for that material!

A star's rainbow, up close

Those black stripes tell us which gases are in the star.

Scientists keep a giant book of these barcodes. To find what a star is made of, they just match its barcode to the book!

Step 3: Every gas has its own fingerprint 🔬

Let's explore! Tap each gas below to light up its very own barcode. Notice how every pattern is different.

Hydrogen
Helium
Sodium
Tap a gas above

Step 4: You be the scientist! 🕵️

A telescope caught this star's barcode (the bright lines below). Which gas's fingerprint does it match?

Mystery star's lines

Compare it with each gas's fingerprint and pick the match.

Hydrogen
Helium
Sodium
Hint: the matching gas has lines in the same spots. The gas helium was actually found in the Sun this way — BEFORE it was ever found on Earth! ☀️

Step 5: A star's colour is a clue too 🔥❄️

Light tells us more than what a star is made of. Its colour tells us how hot it is. Blue-white stars are the hottest; red stars are the coolest.

Tap each star to check your guess: is it hot or cool?

Red star
Yellow star
Blue star
Coolest 🥶 ⟵ red · yellow · blue ⟶ 🥵 Hottest
Our Sun is a friendly yellow star — warm, but not the hottest in the sky.
🎉🌟🔭

You did it, star scientist!

You learned how we know what stars are made of — without ever touching one:

🌈 1. A prism splits a star's light into a rainbow.

📊 2. Dark lines in the rainbow make a barcode.

🔬 3. Every gas has its own barcode fingerprint.

🕵️ 4. Match the star's barcode to find its gases.

🔥 5. The star's colour tells us how hot it is.

This real science is called spectroscopy. Next time you see a star, remember — its light is whispering its secrets, and now you know how to listen. 💫

Tap Start again to explore once more!