Gravity is the force of attraction that an object with mass exerts, attracting other objects with mass towards it. Since this phenomenon applies to bodies of enormous magnitude, gravity is evident in the case of planets and other celestial bodies.
Within the theory of gravity, there is a principle that states that gravitational energy increases as the height at which an object is in relation to the celestial body that attracts it increases. Therefore, the lower the height, the lower the pull.