Gravity is the property of masses to attract each other. The force of attraction depends on the size of the masses and their distance. It decreases quadratically with distance. The first one to experimentally proof mass attraction with a torsion balance in 1798 was Cavendish.