can someone explain how a "solenoid" wire works?
2 answers
A solenoid is a tighty wound helical wire, with many turns. It produces a strong magnetic field down the middle when a current flows, becasue each winding produces a field in the same drection.
There is a picture of one at http://web.ncf.ca/ch865/graphics/Solenoid.jpeg