which item is necessary to make an electromagnet?

which item is necessary to make an electromagnet?
Answer
Brief Explanations:
An electromagnet is made by coiling a wire around a core and passing an electric current through it. A wire is a necessary component for creating the path for the electric - current flow which generates the magnetic field.
Answer:
The item with the wires (the second image) is necessary to make an electromagnet.