Answer:
mass and distance
Step-by-step explanation:
The force of gravity acting on a body depends on the mass of the body and the distance between the bodies.
This is based on Newton's law of Universal gravitation which states that "the force of gravity between two bodies is directly proportional to the product of their masses and inversely proportional to the distance between them".
We see that the more the masses between two bodies, and the lower their separation the more the gravitational force between them.