A closely bound cylindrical coil of insulated metallic wire. A current carrying solenoid behaves as an electromagnet. The uniform, magnetic field inside it may magnetise a steel rod permanently.
Detailed Answer:
A coil of many circular turns of insulated copper wire wrapped closely in the shape of a cylinder is called a Solenoid. The field lines around a current-carrying solenoid is similar to that produced by a bar magnet. This means that a current - carrying solenoid behaves as having a north pole and the South Pole.
The strong magnetic field produced inside a solenoid can be used to magnetise a piece of magnetic material like soft iron when placed inside the coil.