This video explains the difference betweeen an asorption and emission spectrum.
Both spectrums that are produced are a direct result of the Conservation of Energy.
Answers