Field lines between two magnets
The field lines around two magnets form distinctive patterns depending on whether the magnets attract or repel.
If two like poles are placed next to each other, the field lines will be drawn from the north pole to the adjacent south pole. The magnets attract.
If two unlike poles are placed next to each other, the field lines will be pushed away from the other magnet. The magnets repel.