Star, Galaxy, or Nebula? Understanding the Difference
Astronomy photos can make stars, galaxies and nebulae look like variations on the same glowing blob, but they're entirely different kinds of objects, at wildly different scales. A star is a single, self-powered ball of plasma. A galaxy is a vast, gravitationally bound collection of hundreds of billions of stars, gas and dust. A nebula is a cloud of gas and dust — sometimes where stars are born, sometimes what's left after they die.
Knowing the difference isn't just trivia — it changes how you interpret what you're looking at, whether through a telescope eyepiece or in a photo from a space telescope.
What is a star?
A star is a massive, roughly spherical body of plasma that generates its own light and heat through nuclear fusion in its core — mainly converting hydrogen into helium. Our Sun is a star: an ordinary, mid-sized one by stellar standards. Stars vary enormously in size, temperature, and lifespan depending on their mass, as covered in red giants, white dwarfs, and neutron stars explained.
A single star is typically a few hundred thousand to a few million kilometers across — enormous compared to a planet, but tiny compared to the next two categories.
What is a galaxy?
A galaxy is a huge, gravitationally bound system containing anywhere from millions to hundreds of billions of stars, along with gas, dust, and (based on its gravitational effects) large amounts of dark matter. Our own galaxy, the Milky Way, contains an estimated 100 to 400 billion stars and is roughly 100,000 light-years across — see how big is the Milky Way for the full picture.
Galaxies themselves come in different shapes — spiral (like the Milky Way), elliptical, and irregular — and are usually separated from their nearest neighboring galaxy by millions of light-years of largely empty space.
What is a nebula?
A nebula is a cloud of gas (mostly hydrogen and helium) and dust in space. Nebulae fall into a few broad categories: star-forming regions, where gravity is pulling gas together into new stars (the Orion Nebula is a well-known example); planetary nebulae, the expanding shells of gas shed by dying Sun-like stars; and supernova remnants, the debris thrown off by a massive star's explosive death.
Nebulae are typically a few light-years to a few hundred light-years across — vastly bigger than a single star, but tiny compared to an entire galaxy, which usually contains many thousands of nebulae within it.
Comparing the three at a glance
Scale is the simplest way to keep these straight: a star is a point of light-generating matter; a nebula is a cloud spanning light-years, usually found inside a galaxy; a galaxy is an entire city of stars, gas, dust, and nebulae, spanning tens of thousands to hundreds of thousands of light-years.
| Object | Typical size | What it's made of |
|---|---|---|
| Star | Thousands to millions of km | Hot plasma, fusing elements in its core |
| Nebula | A few to a few hundred light-years | Gas and dust, sometimes forming or shed by stars |
| Galaxy | Thousands to hundreds of thousands of light-years | Hundreds of millions to hundreds of billions of stars, gas, dust, dark matter |
Why photos make this confusing
Long-exposure astrophotography compresses enormous differences in distance and brightness into a single flat image, so a relatively small, nearby nebula can visually dominate a photo the same way a vastly larger, more distant galaxy does. Reading the caption — not just the picture — is usually the only way to know which kind of object you're actually looking at.
This is part of why we also cover how astronomers measure distances to faraway galaxies: distance is often the single most important piece of context for understanding scale in an astronomy photo.
A quick test: how to tell them apart yourself
If you're looking at an astronomy image and unsure what category an object falls into, a few quick questions usually settle it. Does it have a sharp, pinpoint core with a smooth glow around it, and a name ending in a catalog number like 'M31'? That's often a galaxy. Does it look like a wispy, irregular cloud with no obvious single bright center, sometimes glowing in reds or greens from excited gas? That's typically a nebula. Is it a single, steady point of light, even under high magnification? That's a star.
Captions and catalog names are the most reliable shortcut: Messier objects prefixed with 'M' cover a mix of galaxies, nebulae, and star clusters, while NGC (New General Catalogue) numbers span similarly varied object types — the prefix alone won't tell you the category, but the accompanying description almost always will.
Star clusters: a fourth category worth knowing
Beyond stars, nebulae and galaxies, you'll also run into star clusters — groups of anywhere from dozens to hundreds of thousands of stars that formed together and remain loosely or tightly bound by gravity. Open clusters, like the Pleiades, contain a few hundred young stars and are found within a galaxy's spiral arms; globular clusters are much denser, older groupings of up to a million stars, often found orbiting a galaxy's outskirts. They're smaller than a galaxy but larger and more populous than a single star, filling a useful niche in the overall size hierarchy of stars, clusters, nebulae and galaxies.
Common mistakes
- Calling any fuzzy, colorful astronomy photo a 'nebula' — some of the most famous ones (like the Andromeda object before it was properly classified) are actually entire galaxies.
- Assuming all nebulae are where stars are born — some, like planetary nebulae and supernova remnants, are the end of a star's life, not the beginning.
- Thinking galaxies are made only of stars — gas, dust and dark matter make up a large share of a galaxy's mass and volume.
FAQ
Is the Milky Way a nebula or a galaxy?
A galaxy. It contains an estimated 100-400 billion stars along with countless nebulae within it.
Can a nebula turn into a galaxy?
No — nebulae are clouds of gas and dust within a galaxy; they don't grow into entire galaxies. Star-forming nebulae produce new stars within an existing galaxy.
Why was the Andromeda Galaxy once called a nebula?
Before the 1920s, astronomers couldn't resolve individual stars within it and classified it, along with other galaxies, as a type of nebula — a 'spiral nebula.' Better telescopes and distance measurements later revealed it was an entire separate galaxy.
Are all stars part of a galaxy?
Essentially all observed stars belong to a galaxy; truly isolated 'rogue' stars are rare and difficult to detect.
Sources
- NASA Planetary Fact Sheet — accessed 2026-11-06
- ESA — accessed 2026-11-06