As an electron in an atom moves from the ground state to the excited state, the electron (1) gains energy as it moves to a higher energy level (2) gains energy as it moves to a lower energy level (3) loses energy as it moves to a higher energy level (4) loses energy as it moves to a lower energy level