Let's say we run a light source (a strong torch) with full spectrum light through a big, transparent, glass box filled with neon. Will we be able to see any Fraunhofer lines on the spectral analysis of the light leaving the box? Will the neon gas trapped in the box absorb characteristic frequencies and heat up? Or does this only work in stars?
By the same token, will doing a spectral analysis on the direct sunlight give us different results than doing it on the sunlight passing through a block of glass itself? Would we be able to tell the chemical composition of this piece of glass just by looking at the Fraunhofer lines?