Effects of gravity on different celestial bodies