Magnetite or Lodestone (Fe3O4), the black ore of iron is a naturally existing magnet.
Oersted’s Experiment
The needle is deflected which means that the electric current through the copper wire has produced a magnetic effect.
This means we can say that electricity and magnetism are linked to each other.