The magnetic field that is produced by a magnet can be represented by magnetic field lines. Field lines are closer together at the poles of a magnet, and further apart at the sides. When the field lines are closer together, the magnetic field is stronger.