Newton (1643-1727)

Isaac Newton is famous for many things including his work on optics and his laws of motion. In the field of astronomy his greatest achievement was his universal law of gravitation.
All bodies in the universe attract each other with a force that is proportional to the product of their masses and inversely proportional to the square of their separation.

So the gravitational force due to the Sun which acts on a planet is proportional to the mass of the planet. Also, the gravitational field strength of a planet is proportional to its mass.
As you move away from a planet its gravity becomes weaker. As it varies with 1/r2 when the distance doubles the field strength will decrease by a factor of 4.
This graph below shows how the Earth's gravity gets less as you move away from the Earth.
At the Earth's surface gravity is about 10 N/kg. At twice this distance, a distance of 2r, the field is 2.5 N/kg, a quarter of what it is at the surface. At 3r it is a ninth etc..

G (big "G") is Newton's Universal Gravitational Constant. Its value is 6.67 x 10-11 Nm2/kg2
For more information http://www-groups.dcs.st-and.ac.uk/~history/Mathematicians/Newton.html