what is a magnetic field made of