उत्तर समझें
Oersted placed a straight current-carrying wire parallel to, and just above, the needle of a small compass, with the wire running in the north-south direction (the same direction the needle naturally rests in).
When the circuit was open (no current flowing), the compass needle stayed aligned north-south, undisturbed.
When current was passed through the wire, the compass needle was deflected from its north-south position. The degree of deflection increased when the current was increased, and reversing the direction of the current reversed the direction of deflection.
This showed that a current-carrying wire produces a magnetic field around it, strong enough to exert a force on a nearby compass needle — establishing the link between electricity and magnetism that founded the study of electromagnetism.