

Earth itself behaves as a magnet.The South Pole of the Earths magnet is in the geographical North and vice versa.
So when a magnet is freely suspended its north pole gets attracted by the magnetic south polarity of the Earth (in the north direction) and it points to the North directon.
