Which of the following would you choose in case you lost your way?
Bar Magnet
Iron rod
When a bar magnet is suspended via thread it always aligns towards the North-South direction. With the help of this, you can easily find out the directions. Similarly, Compass has a small piece of bar magnet inside it which is the reason for the needle to point in the North-South direction.