What is magnetic force of attraction?

Magnetism causes the forces of attraction or repulsion between magnets. It causes like poles to repel each other and opposite poles to attract.