According to Kirchhoff’s third law, when light from a blackbody having a continuous spectrum passes through a cool transparent gas, are observed in the continuous spectrum
When light with a continuous spectrum (emitted by a black body) passes through a cool transparent gas, dark lines are observed in the continuous spectrum.