You can visualize magnetic field lines by sprinkling iron filings around a magnet or by using a small compass. The iron filings align themselves along the magnetic field lines, forming a pattern that reveals the field’s shape and direction.