This Is a Certified Answer

Certified answers contain reliable, trustworthy information vouched for by a hand-picked team of experts. Brainly has millions of high quality answers, all of them carefully moderated by our most trusted community members, but certified answers are the finest of the finest.
Earth behaves as  a magnet because there is a large amount of Iron in the form of hot liquid inside Earth underneath the surface.  There is movement of free electrons inside that iron liquid. That causes circular currents in loops and that in turn causes magnetic field effect. 

1 5 1
Earth behaves as a magnet because there is lot's of amount iron and lava  kept under the earth which attract the things from space. that's why meteorites were fall in the earth because irons attract them from inside.