The force of gravity or gravitational force always acts towards the center of the mass. In case of gravity acting on objects in earth, the direction is acted toward the center of the earth.
Gravity is a force that pulls objects toward each other. On Earth, the force of gravity pulls everything toward the center of the Earth. This is why when you drop something, it falls down toward the ground.