Moving charges do not just experience magnetic forces, they create them: a wire carrying a current is a source of magnetic field. This section gives the field of an infinite straight wire and Ampère’s theorem, the general tool (analogous to Gauss’s theorem) from which that field is derived by symmetry.