When an electric current passes through a wire, it produces a magnetic field around the wire.
(an electric current; passes; through a wire) (it; produces; a magnetic field; L:around the wire; T:When an electric current passes through a wire)
an electric current it
passes produces
through a wire
a magnetic field L:around the wire T:When an electric current passes through a wire