How optical absorption spectra is used to detect the presence of molecular species in a gas?
In this way it is possible to excite a gas with a known intensity of photons, at different energies (spectra), and compare it with the resulting intensity of photons emerging from the gas. Observing the resulting peaks of absorption in a Absorbance vs. Energy diagram allows to determine which molecules species are present in the gas.