A magnetic fieldis a force field that is created by moving electric charges (electric currents) and magnetic dipoles, and exerts a force on other nearby moving charges and magnetic dipoles. At any given point, it has a direction and a magnitude (or strength), so it is represented by a vector field.