A compass has magnetised needle fixed on a pointed pivot. The needle can rotate freely. When the compass is kept at a place, the needle comes to rest in a north-south direction. The compass is rotated until the north and south marks on the dial are in line with the needle. This helps us to predict north and south directions.