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.
What is a magnet?
"A magnet is a rock or a piece of metal that can pull certain types of metal toward itself." The force of magnets, called magnetism, is a basic force of nature, like electricity and gravity. Magnetism works over a distance. This means that a magnet does not have to be touching an object to pull it.
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