Gravity depends on two qualities of objects: their mass and the distance between them. Specifically, the force of gravity between two objects increases with the increase in their masses and decreases as the distance between their centers increases, following an inverse square law relationship.
In summary:
- Mass: The greater the mass of the objects, the stronger the gravitational force they exert on each other.
- Distance: The gravitational force decreases as the distance between the objects increases, specifically proportional to the inverse square of the distance between their centers.
Thus, gravity depends on the mass of the objects and the distance between them.