Gravity is a fundamental force that attracts objects with mass toward each other. In space, it governs the motion of planets, stars, and galaxies.