Magnets will repel or attract. It depends on what poles are near each other. If you put a South pole and a South pole near each other, they will repel. You will find that there is a magnetic force surrounding it.
Same goes for a North pole and a North pole. If you put a North pole, and a South pole near each other, they will attract. This is called a magnetic force. Whether it repels or attracts.
Magnetic field represents the bonders of a magnet. A region of space near a magnet where a magnetic force attracts another magnet. A magnetic effect of electric currents and magnetic materials. The magnetic field at any given point is specified by both a direction and a magnitude (or strength) such as it is a vector field.