Production of Magnetic Fields