We know that Gravitational Force that is applied by the sun on the moon is greater than that by the earth on the moon.
My Question is then why does not the moon escape from the earth and go towards sun?
We know that Gravitational Force that is applied by the sun on the moon is greater than that by the earth on the moon.
My Question is then why does not the moon escape from the earth and go towards sun?
The Sun's pull in the Moon is indeed larger; a bit more than twice that of the Earth's pull in the Moon. Depending on where in the orbit you calculate it, you'll get numbers such as:
$$F_\text{Earth-Moon}=1.8\times 10^{20}\;\mathrm N\qquad F_\text{Sun-Moon}=4.3\times 10^{20}\;\mathrm N$$
These forces cause a gravitational acceleration towards Earth or the Sun, respectively, of:
$$g_\text{Moon-towards-Earth}=2.5\;\mathrm{mm/s^2}\qquad g_\text{Moon-towards-Sun}=5.9\;\mathrm{mm/s^2}$$
But remember that motions superimpose. Both of these two centripetal accelerations will cause circular motions. Both can take place at the same time. Think of the Earth's attraction as causing a small "wobble" in the Moon's Sun-orbit - that "wobble" is the Earth-orbit, which indeed is a much smaller orbit.
The Sun pulls both the Moon and the Earth towards it. This causes
Were there no Earth-Moon attraction, then the Moon would have stayed in a fixed place compared to the Moon, since they "fall" towards the Sun (circulate it) equally fast. When Earth then on top of that motion causes an extra pull in the Moon, the Moon will - during the "fall" towards or circulation around the Sun - have a superimposed motion around the Earth.
(And the Earth will likewise wobble a little towards the Moon - it is just too massive in comparison for any circular motion to be seen.)
You can compare it with a skydiver letting go of a bowling ball; it will stay next to him (more or less due to air resistance) because they both fall equally fast. He can easily grab the ball and move it to the other side or above or below him - or start moving it in a circle around him. That is, he can easily superimpose that motion on top of the falling motion of the ball.
Compare such circulating motion of the ball due to the force from his hands (which is much smaller than the Earth's pull in them) with the Earth's pull in the Moon (which is smaller than the Sun's pull). Such motion is possible due to the superposition principle of motions.