The dark line spectrum are formed by an individual atom, it is because in the gaseous state, the individual atoms are quite apart and they do not interact each other.
Dark-line spectrum is a "photo-negative" of emission spectrum. It is the gaps that appear in precisely the same location as corresponding bright lines. produced by a cool gas with a hot solid and you
The dark line appears because the energy of the light is absorbed by the matter at the frequency of the dark line. According to where that line is, an astronomer can tell what elements are in a...