Spectrometers: Light, Lines, and What They Tell Us

When sunlight passes through a prism, it fans out into a rainbow. That rainbow is a spectrum: light spread out by wavelength, from violet at about 400 nanometers to red at about 700. A spectroscope and a spectrometer take that simple idea and make it useful. They spread light out carefully, then let a person or a detector examine the result. The pattern that comes out can tell you what a substance is made of, how hot it is, and even how fast it is moving.
Three names that sound alike
People often use these words loosely, but they mean slightly different things.
Spectroscopes are instruments for looking at a spectrum directly. You put your eye up to it and see the colors and lines.
Spectrometers measure a spectrum. It has a detector that records how much light arrives at each wavelength, so the result becomes numbers and a graph instead of just something you see.
Spectrographs are the instrument that produces a recorded spectrum. Astronomers use this word a lot because their instruments capture spectra on digital detectors.
Spectrophotometers measure how much light a sample absorbs or transmits at each wavelength. It is a workhorse in chemistry and biology labs.
How the light gets split
There are two main ways to separate light into wavelengths.
The first is a prism. Light slows down and bends when it enters glass, and different wavelengths bend by different amounts. Blue bends more than red, so the colors separate. This is called refraction.
The second is a diffraction grating. This is a surface covered in thousands of very fine parallel grooves. When light hits the grooves, the waves interfere with each other. Some wavelengths reinforce each other at certain angles and others cancel out, so the light spreads into a spectrum. Gratings can separate wavelengths more evenly and precisely than prisms, which is why most modern instruments use them.
A typical spectrometer has four parts: a slit that makes a narrow beam, a collimator that makes the light travel parallel, a dispersing element such as a prism or grating, and a detector. The detector might be a camera sensor, a photodiode, or another light-sensitive device. The slit matters more than it sounds. A narrow slit produces sharper lines, which means finer detail in the spectrum.
Three kinds of spectra
Spectra come in three basic patterns, and the differences are the whole trick.
Continuous spectra are a smooth rainbow with no gaps. A hot, dense object such as a light bulb filament or a star's surface produces one. The shape of the curve depends on temperature, which is why astronomers can read a star's temperature from its overall color and spectrum.
Emission spectra are mostly dark with bright lines at specific wavelengths. A hot, thin gas produces one. Each element emits only certain colors, so the pattern of bright lines acts like a signature.
Absorption spectra look like a continuous rainbow with dark lines cut out of it. It happens when light passes through a cooler gas. The gas absorbs exactly the wavelengths it would emit if it were hot, so the dark lines sit at the same places as the bright lines. The absorption and emission patterns of an element are inverses of each other.
That last point is the key to identifying matter. Hydrogen, helium, sodium, and iron each produce a different set of lines. Show a spectrometer an unknown gas, compare its lines to known patterns, and you can name what is there.
Why elements have fingerprints
The lines come from electrons. In an atom, electrons can only occupy certain energy levels, like rungs on a ladder. They cannot sit between rungs. When an electron drops from a higher level to a lower one, it releases the energy difference as a photon of light. The size of the drop sets the photon's wavelength. When an electron jumps up, it absorbs a photon of exactly the matching energy. Because every element has its own set of energy levels, every element has its own set of wavelengths. Molecules have even more levels, including vibrations and rotations, which is why their spectra can be much more complicated and can reveal how atoms are bonded together.
A short history
Newton showed in 1666 that white light could be spread into a continuous spectrum, and he gave the phenomenon its name.
In 1802, William Hyde Wollaston noticed dark lines in the solar spectrum. Joseph von Fraunhofer studied them more carefully starting around 1814 and measured their wavelengths. He found similar dark lines in the light of bright stars.
The explanation came in 1859 from Gustav Kirchhoff and Robert Bunsen. They showed that the dark lines were caused by gases in the Sun's atmosphere absorbing specific wavelengths. They also showed that each element produces its own lines in the lab. That turned spectroscopy from a curiosity into a tool for finding out what distant objects are made of.
What a spectrum can tell you
Once you can read a spectrum, it answers several different questions at once.
What is it made of? The lines identify elements and molecules. This works for a star billions of kilometers away, a drop of water, or a piece of plastic.
How hot is it? The overall shape of a continuous spectrum shifts with temperature. Hot objects peak at shorter wavelengths and look bluer. Cool objects peak at longer wavelengths and look redder.
How dense is it? The width and sharpness of spectral lines depend on pressure and density. A dense, high-pressure gas produces broader lines than a thin, low-pressure one.
How is it moving? The Doppler effect shifts lines toward longer wavelengths when an object moves away and toward shorter wavelengths when it moves closer. That is how astronomers measure the motion of stars and galaxies.
What is its magnetic field? Strong magnetic fields can split spectral lines into multiple components, a phenomenon called the Zeeman effect.
How spectrometers are used
Astronomy: Spectra reveal what stars are made of, how hot they are, how fast they spin, and how fast they move toward or away from us. They also let astronomers study the atmospheres of planets orbiting other stars. When a planet passes in front of its star, a thin slice of starlight filters through the planet's atmosphere. Molecules in that atmosphere absorb specific wavelengths, leaving a fingerprint in the light. That is how telescopes have detected water, carbon dioxide, and methane around distant worlds.
Space exploration: A laser-based instrument on NASA's Curiosity rover uses laser-induced breakdown spectroscopy, or LIBS. It zaps a tiny bit of rock into glowing plasma and reads the light to identify elements. The same technique is used on Earth for fast analysis of metals, soil, and other materials.
Chemistry and materials: Infrared and Raman spectroscopy identify molecules by how they vibrate. They can tell polyethylene from polypropylene, spot a counterfeit drug, or check whether a batch of material matches its recipe.
Medicine: A pulse oximeter shines red and infrared light through a fingertip. Oxygen-rich and oxygen-poor hemoglobin absorb those two wavelengths differently, so the device can estimate how much oxygen the blood is carrying. Researchers are also testing spectroscopy for detecting disease markers in breath, blood, and tissue.
Environment: Spectrometers monitor greenhouse gases, air pollutants, and water quality. They can count microplastics and measure the chemistry of soil without hauling samples to a lab.
Food and agriculture: Near-infrared and Raman instruments can tell whether expensive olive oil has been cut with cheaper oil, whether a fish is mislabeled, or whether a grain shipment matches its claimed origin.
Forensics: X-ray fluorescence and Raman spectroscopy can identify glass, paint, ink, and gunshot residue while preserving the evidence for other tests.
Industry: Spectrometers check the composition of steel, the purity of chemicals, and the color consistency of products on a production line.
A different kind of spectrometer
Not every spectrometer uses light. A mass spectrometer turns molecules into ions and separates them by mass and charge. It identifies drugs, detects doping, studies proteins, and analyzes trace samples. The name is similar, but the principle is different: mass spectrometers sort particles, while optical spectrometers sort wavelengths.
What spectroscopy cannot do
Spectroscopy is powerful, but it is not magic. Mixtures can produce overlapping lines that are hard to untangle. The instrument needs calibration, and the software needs reference libraries of known spectra to compare against. Some techniques need direct contact with the sample, and some can damage it. And a spectrum usually tells you what is present, not always how the atoms are arranged, which is why labs often combine several techniques.
Try this: a spectroscope from a cereal box
You need an empty cereal box, a blank CD or DVD, scissors, black tape, and a sharp knife. Ask an adult to help with cutting.
Cut a narrow vertical slit about 2 centimeters long in one short end of the box.
Cut a viewing hole in the opposite end, and a slot in the top near the viewing end.
Break or cut the CD into a small square and slide it into the top slot at an angle, shiny side facing the slit.
Tape the box closed and hold the slit up to a light source. Look through the viewing hole and adjust the CD until you see a rainbow with dark lines.
Try it on an incandescent bulb, a fluorescent tube, and an LED. The fluorescent tube should show distinct bright lines from the gases inside. Never point the slit at the Sun.
The takeaway
A spectrometer is a machine for turning light into information. It works because matter is picky about which wavelengths it absorbs and emits, and that pickiness is unique to each element and molecule. Once you can read the pattern, you can identify things you will never touch, from a rock on Mars to the air of a planet many light-years away.
Sources
National Institute of Standards and Technology. Spectroscopy: A Measurement Powerhouse. https://www.nist.gov/spectroscopy/what-spectroscopy
NASA Science. Spectroscopy 101: Types of Spectra and Spectroscopy. https://science.nasa.gov/mission/webb/science-overview/science-explainers/spectroscopy-101-types-of-spectra-and-spectroscopy
NASA Science. Spectroscopy 101: Introduction. https://science.nasa.gov/mission/webb/science-overview/science-explainers/spectroscopy-101-introduction
NASA Science. Hubble Spectroscopy. https://science.nasa.gov/mission/hubble/science/science-behind-the-discoveries/hubble-spectroscopy
OpenStax. Astronomy 2e, Section 5.3, Spectroscopy in Astronomy. https://openstax.org/books/astronomy-2e/pages/5-3-spectroscopy-in-astronomy
OpenStax. Astronomy 2e, Section 17.4, Using Spectra to Measure Stellar Radius, Composition, and Motion. https://openstax.org/books/astronomy-2e/pages/17-4-using-spectra-to-measure-stellar-radius-composition-and-motion
European Southern Observatory. Spectroscopy. https://www.eso.org/public/teles-instr/technology/spectroscopy/
MIT Spectroscopy Laboratory. The Era of Classical Spectroscopy. https://web.mit.edu/spectroscopy/history/history-classical.html
Encyclopaedia Britannica. Spectroscopy. https://www.britannica.com/science/spectroscopy
Canadian Food Inspection Agency. Harnessing the power of spectroscopy for food safety. https://inspection.canada.ca/en/inspect-and-protect/science-and-innovation/spectroscopy-food-safety
U.S. Food and Drug Administration. Pulse Oximeters: Technology, Accuracy Limitations, and Clinical Considerations. https://www.fda.gov/media/176236/download
Nitzan, M., Romem, A., & Koppel, R. (2014). Pulse oximetry: fundamentals and technology update. Medical Devices (Auckland, N.Z.), 7, 231-239. https://pmc.ncbi.nlm.nih.gov/articles/PMC4099100/



Comments