Gravity is the force of attraction exerted by earth towards its centre on a body lying on or near the earth surface.
Force of attraction between each body and the earth is the force of gravity. Force of gravity on a body of mass m depends upon the value of acceleration due to gravity (g) at that place.