Magnets have always been a mystery to us. They are a fun manipulative. At some orientation, they would pull each other towards themselves and at some, they would move away from each other. Over the years we learnt that the force that works behind this behaviour of magnets is its Magnetic Force which is attractive or repulsive in nature depending on its orientation with other magnets.
We have seen that the interaction between two charges can be considered in two stages. The charge Q, the source of the field, produces an electric field E, wherevE = Q r / (4πε0 ) r2, r is unit vector along r, and the field E is a vector field. A charge q interacts with this field and experiences a force F given by
F = qE = q Q r / ( 4 π ε0 ) r 2
Attractive or repulsive on nature. Charge Q source of the Field. Found it interesting!
Be blessed!
https://www.toppr.com/guides/physics/moving-charges-and-magnetism/magnetic-force-and-magnetic-field/