All magnets have north and south poles. Opposite poles are attracted to each other, while the same poles repel each other. When you rub a piece of iron along a magnet, the north-seeking poles of the atoms in the iron line up in the same direction. The force generated by the aligned atoms creates a magnetic field.
"A magnet is an object that attracts or repels other magnetic materials (such as objects made of iron, cobalt and nickel) with its magnetic field."
A magnet can have multiple north and south poles, and these poles always occur in pairs. There can be no north pole without a corresponding south pole, no south pole without a corresponding north.
A whole magnet's magnetic moments come from the moments of all of its atoms.
Magnets attract materials that have unpaired electrons that spin in the same direction.
Magnet's field, it comes from the movement of electrons.
Know more about magnets here
https://brainly.com/question/2841288
#SPJ2