What is an emission spectrum?

A. The total amount of energy emitted by an element
B. The products created when an element is burned
C. The energy absorbed when an electron gains energy
D. The colors of light given off when an element loses energy​