The moving electrons in the metal produce current which in turn produces the magnetic field.
(The moving electrons in the metal; produce; current which in turn produces the magnetic field) (current; produces; the magnetic field)
The moving electrons in the metal current
produce produces
current which in turn produces the magnetic field
the magnetic field