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