What happens when an atom is exposed to an energy source such as electricity?

The electrons may jump to a higher energy level.
The electrons move closer to the nucleus.
The electrons may move to a lower energy level.
The electrons emit a continuous spectrum.