The correct option is D Within Earth's magnetic field
A magnetic compass is an instrument for determining directions. The north pole of a magnet is attracted towards Earth's magnetic south pole. Earth's magnetic south pole is also its geographical north pole. It works at all the places within the Earth's magnetic field.