Gravity is the force that attracts objects with mass towards each other. It keeps us on Earth and allows planets to orbit the sun. Gravity is affected by two main factors - as mass increases, gravitational force increases, and as distance between objects increases, gravitational force decreases. Gravity plays a crucial role in our solar system by defining planetary orbits and retaining atmospheres.