Answer:
They work together to keep things in orbit.
Step-by-step explanation:
Gravity pulls things in, while inertia says that all celestial objects will try their best to continue forward. The results in the orbiting of celestial objects, like the Earth, around other celestial objects, like the Sun.