Explanation : If a bar magnet is suspended at the center on a string and allow to swing freely, then the magnet will rotate so that it will line with the pole of the earth .
So, we can say that when the magnet suspended freely by the string, then the magnet will rotate and stop in north and south direction . The north pole of the magnet will stop in the south direction of the earth and the south pole of the magnet will stop in the north direction of the earth.