Video narration
How can a simple coil of wire act like a magnet? A solenoid is insulated copper wire wound into repeated loops, like a spring. When current passes through the loops, it produces a magnetic field. Its pattern resembles a bar magnet: one end acts as a north pole, and the other as a south pole. The coil has become a source with two magnetic ends. But that resemblance is only the starting point. Inside the solenoid, the magnetic field lines run parallel. That means the field has the same strength and direction throughout the inside region. In other words, it is a uniform magnetic field-not merely present, but evenly arranged. That is the key. So, how can a coil act like a magnet? Current in its loops creates a two-pole magnetic field, and inside the coil, that field is uniform.