light is produced by an atom's electron absorbs energy and becomes energized, or excited. When this happens, the excited electron moves from its ground state (normal position around the nucleus) to an excited state (position farther from the nucleus.