Answer:
electric field or magnetic field both are same
Explanation:
in an electromagnet the movement of electrons in a wire creates the magnetic field.an electromagnet and the permanent magnet both the magnet have the magnetic fields that can attract the same kinds of materials.