The reason all planets revolve around the sun is because of a thing I name "gravity"
These are the 3 laws of motion
Every object in a state of uniform motion tends to remain in that state of motion unless an external force is applied to it
The relationship between an object's mass m, its acceleration a, and the applied force F is F = ma. Acceleration and force are vectors (as indicated by their symbols being displayed in slant bold font); in this law the direction of the force vector is the same as the direction of the acceleration vector
For every action there is a equal and opposite reaction