The gravitational pull between two objects depends on their mass and distance. What is meant by distance?

A: The length of the object, meaning if the object is longer it will exhibit more gravitational pull than if it is short.
B: How far apart the two objects are located, meaning that objects farther apart have a stronger gravitational pull than closer objects.
C: The height of an object above the ground, meaning that an object will fall faster as the height above the ground increases.
D: How close the two objects are located, meaning that closer objects have a stronger gravitational pull than objects farther apart.

B: How far apart the two objects are located, meaning that objects farther apart have a stronger gravitational pull than closer objects.