While stationary charges generate an electric field $\textbf{E}$, moving charges generate a magnetic field $\textbf{B}$.
Figure 1:
The magnetic field generated by a wire. The direction of the magnetic field can be simulated using the right-hand rule.