Answer
According to Ørsted's discovery, the flow of electric current generates a magnetic field. This phenomenon establishes a fundamental link between electricity and magnetism. When an electric current passes through a conducting wire, it creates a magnetic field around the wire. The strength and direction of the magnetic field depend on the amount of current flowing and the geometry of the wire.