Gravity is the pull on an object by another object of greater mass. Friction is the force resisting the motion of two objects sliding against each other (without friction, we would all slide around as if every surface was as smooth as ice). Gravity and friction are actually completely different.