Respuesta :

Magnetism is created around the wire when electricity flowed through said wire. Our earth has a magnetic field, and the pointer of the compass is magnetic, thus creating magnetic strength, which can conduct electricity. I hope this helps somewhat!