Explain how inertia and gravity combine to keep earth in its orbit

Explain how inertia and gravity combine to keep earth in its orbit.