Gravity is a force that attracts objects with mass toward each other, determined by their mass and distance. On Earth, gravity gives weight to objects and keeps them grounded. In space, it governs the motion of celestial bodies, keeping planets in orbit around the sun and forming stars and galaxies. Gravity also influences phenomena like tides and black holes.