A magnetic field is a vector field that describes the magnetic influence of electric charges in relative motion and magnetized materials. ... Magnetic fields exert forces on nearby moving electrical charges and torques on nearby magnets.