Magnets are objects that produce magnetic fields and attract metals like iron, nickel and cobalt. The magnetic field’s lines of force exit the magnet from its north pole and enter its south pole. Permanent or hard magnets create their own magnetic field all the time.