Hans Christian Oersted was a Danish scientist who explored the relationship between electric current and magnetism. Current is the flow of electrons, and is how we hardness electricity. Currents create their own magnetic fields in closed loops, which magnets are known to induce, or create current, in wires.
Oersted experimented with this, using a compass, which uses the magnetic poles of the Earth to show your which direction you are facing. By bringing the compass near a closed current loop, he was able to interfere with the magnetic field and cause the compass needle to move.
Warning is hereby given that not all Project Ideas are appropriate for all individuals or in all circumstances. Implementation of any Science Project Idea should be undertaken only in appropriate settings and with appropriate parental or other supervision. Reading and following the safety precautions of all materials used in a project is the sole responsibility of each individual. For further information, consult your state's handbook of Science Safety.