

rotation of electrons around the nucleus is explaained by quantum mechanics, which a branch of study in Physics. The way gravity acts on planets, similarly, an electromagnetic force attracts the orbiting electron to the nucleus, and this force makes it revolve around the nucleus.
