The interaction between magnets that causes the magnets to either attract each other or repel each other is called magnetism, which is a known resultant physical phenomena between two magnetic objects. In particular, magnets repel when two similar poles are faced side by side, and these magnets attract each other when opposite poles are faced with each other.