Two objects containing charge moving in the same direction have a magnetic attraction force between them. Similarly, objects with charge moving in opposite directions have a repulsive force between them. Therefore magnetic force is defined as,
“The force between two moving charges may be described as the effect exerted upon either charge by a magnetic field created by the other.”
The space or the region around a magnet within which magnetic force is exerted on other magnet is called the magnetic field.