Law of Gravity, formulated by Sir Isaac Newton, describes the mutual attraction between two objects due to their mass. It states that the gravitational attraction force is directly proportional to the product of their masses and inversely proportional to the square of the distance between their centers.
The mathematical equation is the one shown in the picture below:
where F is the force, G is the gravitational constant, m1 and m2 are the masses, and r is the distance.