Gravity exists on the Moon because all objects with mass have gravity. While the Moon has less mass than Earth, it still exerts gravitational pull, keeping astronauts and objects on its surface rather than flying off into space. The Moon's lower mass results in a weaker gravitational pull compared to Earth's gravity.