Step-by-step explanation:
The gravitational force exerted by the sun on the earth keeps the earth moving or orbiting around the sun in its orbit. This force is same with force with which the earth pulls the sun or exerts on the sun.
But the sun does not orbit around the earth because of this force since the sun is more massive then earth but the earth is less massive and it is accelerated by this massive force of the sun and moves around the sun in its orbit.