A magnetic compass is an instrument which is based on a property of magnets to find directions.
A compass has a magnetic needle that can rotate freely. When a compass is kept at a place, the magnetic needle aligns in a north-south direction. The red arrow of the compass needle is termed as the north pole and the other end as the south pole.