Acceleration is caused by a net force acting on an object. On Earth, the force of gravity pulls down any object that has a mass. This produces an acceleration towards the center of the Earth, which is known as acceleration due to gravity.
F=ma⇒GMmr2=ma
⇒a=GMr2
Near the surface of the earth, its value comes to be 9.8 m/s2.