But running an electric current through the wire creates a magnetic field that will attract metal objects, affect a compass, and run powerful motors.
(running an electric current through the wire; creates; a magnetic field that will attract metal objects, affect a compass, and run powerful motors) (a magnetic field; will attract; metal objects) (a magnetic field; affect; a compass)
running an electric current through the wire a magnetic field a magnetic field
creates will attract affect
a magnetic field that will attract metal objects, affect a compass, and run powerful motors
metal objects
a compass