By making precipitation fall to earth causing erosion.eg.Water running down a hill will erode it sooner or later
Gravity keeps the earth intact at its place. Every thing on earth attract every other thing on earth.