Gravity is a fundamental force that attracts objects with mass toward each other. It is responsible for holding planets in orbit around stars, keeping moons around planets, and determining the shape and structure of galaxies.