Answer :
the earth attracts everything towards it because it has lava present inside which acts as a magnet and magnetoc fields form around the earth which attracts eveything towards it and it is also because there is iron present inside our bodies and other living organisms.