Answer
The Coulomb force keeps the electrons from flying off into space.
Work Step by Step
The protons in the nucleus are positively charged, and attract the negatively-charged electrons. Electrons orbit the nucleus like the planets orbit the sun.