The electrostatic attraction force between protons in nucleus and electron in orbit give centripetal force to the electron. Due to this attractive force, these electrons are bounded and revolves in a circular orbit. It is a similar kind of situation as planets revolve around the sun due to gravitational attraction