Drop a ball and it falls because Earth pulls it. Newton's big insight was that the same pull reaches all the way to the Moon, 384,000 km away, and keeps it curving round Earth instead of flying off in a straight line. Every object with mass pulls on every other one: you pull on Earth, Earth pulls on you, and two apples on a table pull on each other, just very feebly.
Two things set the strength. More mass means more pull: Jupiter, with 318 times Earth's mass, pulls far harder. More distance means less pull, and it drops quickly: at twice the distance from a planet's centre the pull is a quarter, at three times it is a ninth. That is the inverse-square rule, F∝1/r2. Distance is measured between centres, so standing on Earth's surface you are already 6400 km from its centre.
Gravity is not the same as weight, though the two are linked. Gravity is the general attraction between any two masses at any distance. Weight is the particular case of a planet pulling on an object near its surface, which on Earth simplifies to W=mg. Use mg when an object stays near the ground; use Gm1m2/r2 when the distance changes a lot, as for a satellite or the Moon, or when neither object is Earth.
Think of it like this. Gravity spreads out like the light from a bulb. Move twice as far from a lamp and its light covers four times the area, so each patch gets a quarter as much; gravity's pull fades with distance in the same way. Unlike light, gravity cannot be blocked or reflected, and it only ever attracts.
Core idea. Every mass attracts every other mass with a force that grows with both masses and falls with the square of the distance between their centres, F=Gm1m2/r2.