The strength of gravity between two objects depends on:

a
Weight of the objects and distance between the two objects
b
The Mass of the objects and the distance between the two objects
c
The volume of the object and the weight of the objects
d
Mass of the objects and the volume of the objects

b. The Mass of the objects and the distance between the two objects.