Why do like poles of a magnet repel each other? What is the name of this particular force? What makes metals attract themselves to the magnet?
Explanation:
An illustrative diagram below shows the magnetic force of attraction between the unlike poles.
An illustrative diagram below shows the magnetic force of repulsion between the like poles.