Magnetic fields and electric fields are aspects of a more basic field in nature called the electromagnetic field.