Due to gravity the earth attracts every object which has mass and pulls it towards its center.
Class 9, chapter 10-Gravitation.