Around the nucleus some electrons are further out than others .
The electrons in an atom are attracted to the protons in the nucleus by the electromagnetic force . This force binds the electrons inside an electrostatic potential well surrounding the smaller nucleus , which means that an external source of energy is needed for the electron to escape .