The space surrounding a magnet in which magnetic force is exerted, is called a magnetic field. The direction of magnetic field lines at a place can be determined by using a compass needle. A compass needle placed near a magnet gets deflected due to the magnetic force exerted by the magnet. The north end of the needle of the compass indicates the direction of magnetic field at the point where it is placed.