A freely suspended bar magnet will get aligned in north-south direction. The Earth has its own magnetic field. It is the property of magnet that unlike poles are attracted towards each other. The north pole of bar magnet is attracted towards magnetic south pole of Earth. Hence, freely suspended magnet aligns itself in north-south direction.