Loading...

Glossary term: Spectrum

Redirected from Spectral Line

Description: A rainbow forms when water droplets split light into elementary colors, from violet, blue, and green, to yellow, orange, and red. Each color corresponds to a range of wavelengths, and the rainbow colors are arranged in order of increasing wavelength from violet to red. This kind of decomposed light, or electromagnetic radiation in general, into different wavelengths is called a spectrum.

Electromagnetic radiation is a mixture of light particles called "photons". Creating a spectrum amounts to sorting photons by energy and documenting how many photons there are in each given energy range. By a basic law of quantum mechanics, this is equivalent to sorting light by frequency – yet another way of documenting a spectrum.

If the amount of energy varies smoothly with wavelength (or photon energy, or frequency), the spectrum is called continuous. In contrast, sharp dips or peaks in a spectrum at certain wavelengths are called absorption and emission lines, respectively. Such lines arise due to transitions between different energy levels within atoms or molecules (or even atomic nuclei), either absorbing or emitting radiation at specific wavelengths. For example, in visible light, stars show continuous spectra with absorption lines. The lines carry information about a star's chemical composition. The analysis of spectra is known as spectroscopy; instruments that allow for the recording of spectra are called spectroscopes, spectrometers, or spectrographs.

Related Terms:



See this term in other languages

Term and definition status: This term and its definition have been approved by a research astronomer and a teacher

The OAE Multilingual Glossary is a project of the IAU Office of Astronomy for Education (OAE) in collaboration with the IAU Office of Astronomy Outreach (OAO). The terms and definitions were chosen, written and reviewed by a collective effort from the OAE, the OAE Centers and Nodes, the OAE National Astronomy Education Coordinators (NAECs) and other volunteers. You can find a full list of credits here. All glossary terms and their definitions are released under a Creative Commons CC BY-4.0 license and should be credited to "IAU OAE".

If you notice a factual error in this glossary definition then please get in touch.

Related Media


A composite showing four rainbows. Each is centred on different points

24 Hours of Rainbow

Caption: This panoramic view taken with a smartphone of Livorno, Italy, showcases a series of vivid rainbows captured on three different days in December 2021. Rainbows are the result of sunlight being refracted by water droplets suspended in the air, typically after rainfall or during misty conditions. The water droplets act like a prism, breaking up (refracting) the sunlight into the various colours. The different wavelengths of light are refracted by different amounts, which is why we see this layering of colours. The photographer skillfully merged the most remarkable shots taken on different days to highlight the diverse sizes and brilliance of these rainbows. The locations at which the rainbows appear to be centred are different because each rainbow appeared when the Sun was at a different position in the sky. This composite image beautifully captures the transient yet mesmerising allure of rainbows, illustrating their fleeting appearance and gradual dissipation influenced by the shifting atmospheric conditions.
Credit: Fabrizio Guasconi/IAU OAE (CC BY 4.0)

License: CC-BY-4.0 Creative Commons Attribution 4.0 International (CC BY 4.0) icons

Related Diagrams


A smooth line declining at longer wavelengths with a few sharp dips.

Spectrum of an O-type star

Caption: The spectrum of the O-type star HD 235673 with wavelength in nanometers on the x-axis and flux on the y-axis. The top part of the plot shows the same spectrum but with bright patches for wavelengths with high flux and dark patches for wavelengths with low flux. The colour of the line between 400 nm and 700 nm roughly corresponds to the colour the human eye would see light of that wavelength. Below 400 nm and above 700 nm, where the human eye can see little to no light, the lines are coloured blue and red respectively. The black lines show spectral absorption lines caused by atoms and ions of different elements in the star’s atmosphere. These atoms and ions absorb at specific wavelengths, causing sharp, dark lines in the spectra. How strong these lines are depends on the temperature of the star’s atmosphere. Two stars made from the same mix of elements could have spectra with vastly different sets of lines in their spectra if they have different temperatures in their atmospheres. For O-type stars the most important features are a small number of lines caused by ionized helium. These lines are stronger in O-type stars than in cooler stars. Lines from helium atoms and hydrogen atoms also appear in the spectrum. The spectrum has more flux at the blue end of the spectrum than at the red end of the spectrum.
Credit: IAU OAE/SDSS/Niall Deacon

License: CC-BY-4.0 Creative Commons Attribution 4.0 International (CC BY 4.0) icons


A smooth line declining at longer wavelengths with a few sharp dips.

Spectrum of a B-type star

Caption: The spectrum of the B-type star HD 258982. The colour of the line between 400 nm and 700 nm roughly corresponds to the colour the human eye would see light of that wavelength. Below 400 nm and above 700 nm, where the human eye can see little to no light, the lines are coloured blue and red respectively. The black lines show spectral absorption lines caused by atoms and ions of different elements in the star’s atmosphere. These atoms and ions absorb at specific wavelengths, causing sharp, dark lines in the spectra. How strong these lines are depends on the temperature of the star’s atmosphere. Two stars made from the same mix of elements could have spectra with vastly different sets of lines in their spectra if they have different temperatures in their atmospheres. For B-type stars the most important lines are caused by helium atoms. These lines are strongest in B-type stars and weaker in hotter and cooler types. Lines from hydrogen atoms are also present but are not as strong as in cooler A-type stars.
Credit: IAU OAE/SDSS/Niall Deacon

License: CC-BY-4.0 Creative Commons Attribution 4.0 International (CC BY 4.0) icons


A smooth line peaking about 420 nm then declining at longer wavelengths with a few fairly broad dips.

Spectrum of an A-type star

Caption: The spectrum of the A-type star BD-11 1212. The colour of the line between 400 nm and 700 nm roughly corresponds to the colour the human eye would see light of that wavelength. Below 400 nm and above 700 nm, where the human eye can see little to no light, the lines are coloured blue and red respectively. The black lines show spectral absorption lines caused by atoms and ions of different elements in the star’s atmosphere. These atoms and ions absorb at specific wavelengths, causing sharp, dark lines in the spectra. How strong these lines are depends on the temperature of the star’s atmosphere. Two stars made from the same mix of elements could have spectra with vastly different sets of lines in their spectra if they have different temperatures in their atmospheres. Lines from hydrogen atoms dominate the spectra of A-type stars and are strongest at this spectral type.
Credit: IAU OAE/SDSS/Niall Deacon

License: CC-BY-4.0 Creative Commons Attribution 4.0 International (CC BY 4.0) icons


A relatively smooth line peaking about 430 nm then declining at longer wavelengths with a few fairly broad dips.

Spectrum of an F-type star

Caption: The spectrum of the F-type star 2MASS J22243289+4937443. The colour of the line between 400 nm and 700 nm roughly corresponds to the colour the human eye would see light of that wavelength. Below 400 nm and above 700 nm, where the human eye can see little to no light, the lines are coloured blue and red respectively. The black lines show spectral absorption lines caused by atoms and ions of different elements in the star’s atmosphere. These atoms and ions absorb at specific wavelengths, causing sharp, dark lines in the spectra. How strong these lines are depends on the temperature of the star’s atmosphere. Two stars made from the same mix of elements could have spectra with vastly different sets of lines in their spectra if they have different temperatures in their atmospheres. The lines from hydrogen atoms that are strongest in A-type stars are still relatively strong in F-type stars but lines from metals, particularly ionised calcium begin to become strong at this spectral type.
Credit: IAU OAE/SDSS/Niall Deacon

License: CC-BY-4.0 Creative Commons Attribution 4.0 International (CC BY 4.0) icons


A quite ragged line peaking about 470 nm then declining at longer wavelengths with a few deeper dips.

Spectrum of a G-type star

Caption: The spectrum of the G-type star UCAC4 700-069569. The colour of the line between 400 nm and 700 nm roughly corresponds to the colour the human eye would see light of that wavelength. Below 400 nm and above 700 nm, where the human eye can see little to no light, the lines are coloured blue and red respectively. The black lines show spectral absorption lines caused by atoms and ions of different elements in the star’s atmosphere. These atoms and ions absorb at specific wavelengths, causing sharp, dark lines in the spectra. How strong these lines are depends on the temperature of the star’s atmosphere. Two stars made from the same mix of elements could have spectra with vastly different sets of lines in their spectra if they have different temperatures in their atmospheres. In G-type stars lines from hydrogen atoms are weaker than in F-type stars and lines from ionised calcium stronger. Lines from metal atoms such as atoms of iron, sodium and calcium also begin to become prominent.
Credit: IAU OAE/SDSS/Niall Deacon

License: CC-BY-4.0 Creative Commons Attribution 4.0 International (CC BY 4.0) icons

Related Activities


Hunting for spectra

Hunting for spectra

astroEDU educational activity (links to astroEDU website)
Description: Learn about light and spectra building a spectroscope with a CD!

License: CC-BY-4.0 Creative Commons Attribution 4.0 International (CC BY 4.0) icons
Tags: Hands-on , Experiment , prism
Age Ranges: 8-10 , 10-12 , 12-14 , 14-16 , 16-19
Education Level: Informal , Middle School , Primary , Secondary
Areas of Learning: Guided-discovery learning
Costs: Low Cost
Duration: 1 hour
Group Size: Individual
Skills: Asking questions , Constructing explanations , Planning and carrying out investigations


Reading the Rainbow

Reading the Rainbow

astroEDU educational activity (links to astroEDU website)
Description: By understanding how rainbows work, you can discover about light and its properties, learning about stars, nebulae, galaxies, and our Universe.

License: CC-BY-4.0 Creative Commons Attribution 4.0 International (CC BY 4.0) icons
Age Ranges: 14-16 , 16-19 , 19+
Education Level: Informal , Middle School , Secondary , University
Areas of Learning: Interactive Lecture , Observation based , Social Research
Costs: Low Cost
Duration: 1 hour 30 mins
Group Size: Group
Skills: Analysing and interpreting data , Asking questions , Engaging in argument from evidence


Find the hidden rainbows

Find the hidden rainbows

astroEDU educational activity (links to astroEDU website)
Description: Let’s reveal hidden rainbows around us and the physical processes that make them!

License: CC-BY-4.0 Creative Commons Attribution 4.0 International (CC BY 4.0) icons
Age Ranges: 10-12 , 12-14 , 14-16
Education Level: Middle School , Secondary
Areas of Learning: Interactive Lecture , Observation based , Social Research
Costs: Medium Cost
Duration: 1 hour