According to http://wtamu.edu/~cbaird/sq/mobile/2013/07/01/why-doesnt-the-earth-fall-down/ , the earth does not fall down because of the gravitational force of the sun.
At the same time , earth's repulsive force , acts as a resistance to the gravitational force of the sun.
This theory is not satisfying because it doesn't hold good for mercury.
Mercury's mass is negligible when compared to sun. So sun should have swallowed mercury already.
Is there a better theory to why the earth doesn't fall.