The difference between emission and absorption spectra

An emission spectrum is the light that comes directly from a hot or energized source — like the glow from a neon sign or the light from the sun. When you look at it through a prism or spectrograph, you see bright colored lines or a continuous rainbow, depending on what's producing the light. Those lines appear because the atoms or molecules are releasing energy as light.

An absorption spectrum is what you see when light from a bright source passes through a cooler gas or material first. Instead of seeing all the colors, you see dark lines or gaps where certain colors are missing. Those missing colors were absorbed — taken in — by the gas or material in the way. The atoms grabbed those specific wavelengths of light and used that energy to jump to a higher energy state.

The key difference: emission shows you what light is being made. Absorption shows you what light is being taken out. They're opposite processes, and they often show up as mirror images of each other.

Key Takeaways

  • Emission spectra show bright lines or continuous color when a hot source releases light directly; absorption spectra show dark lines or gaps where a cooler material has removed specific colors from passing light.
  • Each element produces or absorbs the same specific wavelengths of light, so scientists can identify what an object is made of by looking at its spectrum.
  • Emission happens when electrons fall from a higher energy level to a lower one and release that energy as light; absorption happens when electrons jump up and take in energy from passing light.
  • The sun's spectrum shows dark lines (Fraunhofer lines) because cooler gases in the sun's outer layers absorb light that the hot core is emitting.

How emission spectra are created

When you heat an atom or molecule, or pass electricity through it, you give its electrons extra energy. Those electrons jump to higher energy levels — they become "excited." But they don't stay there. Within a fraction of a second, they fall back down to their normal, lower energy level. When they fall, they release that extra energy as a photon — a particle of light.

Each element releases light at specific wavelengths because the energy levels in its atoms are fixed and unique. Hydrogen always releases the same colors. Helium always releases different colors. This is why neon signs glow different colors depending on which gas is inside: each gas emits its own set of wavelengths. When you look at the light through a prism or spectrograph, you see bright lines at those exact wavelengths — a line spectrum. If the source is very hot and dense, like the surface of a star, you see a continuous spectrum instead: a smooth rainbow with no gaps.

How absorption spectra are created

Absorption works in reverse. When light from a bright source passes through a cooler gas, the atoms in that gas can absorb photons. But they only absorb photons with exactly the right energy — the energy needed to jump an electron from one level to another. All other wavelengths pass straight through.

So if white light (which contains all wavelengths) shines through a gas, the gas removes certain colors and lets the rest through. When you look at what comes out the other side through a spectrograph, you see a continuous rainbow with dark lines where those colors are missing. Those dark lines are at exactly the same wavelengths where that element would emit light if it were hot enough.

This is why the sun's spectrum has dark lines. The sun's core is incredibly hot and produces a continuous spectrum — all colors. But that light has to travel through the cooler gases in the sun's outer layers to reach us. Those cooler gases absorb specific wavelengths, creating dark lines called Fraunhofer lines. By looking at which lines are dark, scientists can tell what elements are in the sun's atmosphere.

Why the same element shows the same lines in both spectra

This is the most useful part: the wavelengths that an element emits are exactly the same as the wavelengths it absorbs. Hydrogen always emits red, cyan, blue, and violet light at the same specific wavelengths. Hydrogen also absorbs light at those exact same wavelengths. This means if you see a dark line at a certain wavelength in an absorption spectrum, you know that if you heated that material, it would emit light at that exact wavelength.

Scientists use this to identify what distant objects are made of. If you look at light from a distant star or galaxy and see dark lines at the wavelengths where hydrogen absorbs, you know hydrogen is there. If you see lines where iron absorbs, iron is there. This method works even for objects billions of light-years away.

Real-world examples you can observe

A neon sign is a pure emission spectrum. The gas inside is heated and energized, so it glows with its own light. You see bright lines of red, orange, and other colors depending on the gas.

A street lamp shining through fog is closer to an absorption setup. The lamp emits light, but dust and water droplets in the fog absorb and scatter some wavelengths more than others, which is why fog looks yellowish or reddish under certain lights.

The sun itself shows both. Its core and surface emit a continuous spectrum. Its outer atmosphere absorbs certain wavelengths, creating the dark Fraunhofer lines that astronomers have studied for centuries. By analyzing those lines, scientists know the sun contains hydrogen, helium, iron, calcium, and many other elements.

Why this matters for understanding light and matter

Emission and absorption spectra are proof that energy comes in specific packets, not in a smooth flow. An electron can't release any amount of energy — it can only release the exact amount needed to drop from one level to another. This discovery was revolutionary because it showed that the atomic world works by different rules than the everyday world we see.

Understanding spectra also lets us see what we can't reach. We can't travel to the sun or distant stars, but by looking at their light, we can figure out what they're made of, how hot they are, and even whether they're moving toward us or away from us. Spectra are one of the most powerful tools astronomy has.

Frequently Asked Questions

Why do some spectra have lines and others look like a smooth rainbow?

A smooth rainbow (continuous spectrum) comes from something very hot and dense, like a star's surface, where atoms are packed so close that their energy levels blur together. Bright or dark lines come from a gas, where atoms are spread out and each one has its own distinct energy levels.

Can the same material show both emission and absorption at the same time?

Yes. If you have a hot gas with cooler gas in front of it, the hot gas emits light and the cool gas absorbs some of it. The sun works this way: the core emits, the outer layers absorb. You see a continuous spectrum with dark lines.

How do scientists know which element is which if they all have different line patterns?

Each element has a unique pattern of lines, like a fingerprint. Scientists have measured and cataloged the exact wavelengths for every element under controlled conditions in labs. When they see an unknown spectrum, they compare it to these known patterns to identify what's there.

Does temperature affect what colors an element emits?

Temperature doesn't change which wavelengths an element can emit — those are fixed by its atomic structure. But higher temperature means more atoms are excited at once, so the lines appear brighter. Very high temperatures can also excite electrons to higher levels, revealing additional lines that don't show up at lower temperatures.