The experiment conducted by Hans Oersted in 1820 is known as the electromagnetic field base. In his experiment, Oersted observed that a magnetic field was produced around it when electricity passes through a conducting wire. He detected the magnetic field with a compass placed near the current-carrying wire. If a compass is brought in the vicinity of the current-carrying wire, the needle deflects in a definite direction. The direction of the deflected needle shows the direction of the electromagnetic field.The experiment by Oersted is a significant yet straightforward experiment that proved the existence of the electromagnetic effect of current. Hence, this experiment is known as the base of the electromagnetic effect.