A coil of many circular turns of insulated copper wire wrapped closely in the shape of a cylinder is called a solenoid.
one end of the solenoid behaves as a magnetic north pole, while the other behaves as the south pole. The field lines inside the solenoid are in the form of parallel straight lines. This indicates that the magnetic field is the same at all points inside the solenoid. That is, the field is uniform inside the solenoid.