Here's a breakdown:
* For objects on Earth: The force of gravity pulls you directly towards the center of the Earth. This is why you feel a downward force when you jump, and why things fall to the ground.
* For objects in space: The force of gravity acts between any two objects with mass. It's always pulling them towards each other, aiming for their centers of mass. This is why planets orbit stars, and why the moon orbits the Earth.
Important Note: While gravity always works towards the center of mass, the direction you perceive it to be acting can vary depending on your perspective and the objects involved. For example, you might perceive gravity pulling you "down" when standing on Earth, but that's just because the Earth is so massive compared to you.