Okay so I've recently found an insane interest in physics and am becoming familiar with simple things. However the vast amount of knowledge I have not yet acquired is pretty troubling me with understanding other things. I understand that gravity is a field influenced by a mass of an object, correct me if I am wrong, but let's say that the earth rotates around the sun because it is within the field of the suns gravitation, meaning that the amount of mass that the sun will push down on the fabric of space-time creates the opportunity for the earth to orbit around it? (once again correct me if I'm wrong) How does an electron rotating around an atom nucleus differ from this effect? I mean I have heard that electromagnetic force and gravitation force are not similar or the same.