what is the source of energy that is absorbed by the electrons to move from the ground state to excited state?