Question: what is the relationship between gravity and distance?
Answer: Since gravitational force is inversely proportional to the square of the separation distance between the two interacting objects, more separation distance will result in weaker gravitational forces. So as two objects are separated from each other, the force of gravitational attraction between them also decreases.