An absorption spectrum is the unique pattern of dark absorption lines or bands observed in the continuous spectrum of light that has passed through a gaseous medium. This phenomenon occurs when atoms or molecules in the gas absorb specific wavelengths of light, leaving gaps or dark lines in the otherwise continuous spectrum.