Electric and magnetic forces are tightly intertwined.
We can use the Lorentz force acting on a charge $q$
$$\mathbf{F} = q(\mathbf{E} + \mathbf{v} \times \mathbf{B})$$
to define the electromagnetic field.
The force has two parts:
- The first part ($q\mathbf{E}$) of this force
is independent of the velocity of the charge.
We call it electric force, and actually this relation
serves as the definition of the electric field $\mathbf{E}$.
- The second part ($q\mathbf{v}\times\mathbf{B}$) of this force
is proportional to the velocity of the charge.
We call it magnetic force, and actually this relation
serves as the definition of the magneticic field $\mathbf{B}$.
It may be even more instructive to look at the force between two charges
$q_1$ and $q_2$
(moving with velocities $\mathbf{v}_1$ and $\mathbf{v}_2$,
separated by distance $\mathbf{r}$).
Neglecting any retardation effects by the finite speed of light,
this force is:
$$\begin{align}
\mathbf{F}&=\frac{1}{4\pi\epsilon_0} \frac{q_1q_2}{r^2}\hat{\mathbf{r}} \\
\\
&+ \frac{\mu_0}{4\pi}\frac{q_1q_2}{r^2}\mathbf{v}_1\times(\mathbf{v}_2\times\hat{\mathbf{r}})
\end{align}$$
Here again the force has two parts:
- The first part of this force
is independent of the velocities of the two charges.
This is the well-known electric force as described by Coulomb's law.
Like charges repel, and unlike charges attract each other.
- The second part of this force
is proportional to the velocities
$\mathbf{v}_1$ and $\mathbf{v}_2$ of the two charges.
We can call it the magnetic force between the charges.
For parallel $q_1\mathbf{v}_1$ and $q_2\mathbf{v}_2$
the charges attract,
and for antiparallel $q_1\mathbf{v}_1$ and $q_2\mathbf{v}_2$
they repel each other.
Hence, the essence of the above is:
The electric forces come about between charges,
regardless of whether these charges are at rest or moving.
The magnetic forces come about between charges,
when both the charges are moving.
So instead of the unsatifsfying definitions
"A magnet is a material or object that produces a magnetic field"
"A magnetic field is a vector field that describes the magnetic influence on magnetic materials"
we can come up with better definitions like this:
A magnet is a material or object with lots of charges moving with similar
velocities or spinning around similar rotation axis'.
A magnetic field is a vector field that describes the velocity-dependent effect on moving charges.