Move the compass on the screen. Compare the direction of the compass arrow to the direction of the arrows that show the magnetic field. What do you notice?

The compass needle aligns with the direction of the magnetic field arrows. This shows that the compass needle points in the direction of the magnetic field lines.