What is the absorption spectrum?

The spectrum obtained when the substance absorbs energy is called absorption spectrum.
The absorption spectrum contains dark lines on bright background.