In an atom for the electron to revolve around the nucleus, the necessary centripetal force is obtained from the following force exerted by the nucleus on the electron
Electrostatic force
Electrostatic force provides necessary centripetal force for circular motion of electron.