Which best explains what happens when an electron moves from an excited state to the ground state?
A. The electron absorbs energy as it moves to a lower energy level.
B. The electron absorbs energy as it moves to a higher energy level.
C. The electron releases energy as it moves to a higher energy level.
D. The electron releases energy as it moves to a lower energy level.