Answer:
Magnetism and electricity involve the attraction and repulsion between charged particles and the forces exerted by these charges. The interaction between magnetism and electricity is called electromagnetism. The movement of a magnet can generate electricity. The flow of electricity can generate a magnetic field.
Magnetic Fields and Electric Current
Magnetism causes a compass needle to point north, unless it is in the presence of a different magnetic field. In 1820, Hans Christian Oersted observed that a compass needle did not point north when he held it near an electric current flowing through a wire. After further experimentation, he concluded that the electric current in the wire produced a magnetic field.
Explanation: