Answer:
copper wire, metal nail, battery
Step-by-step explanation:
To create an electromagnet, the material to be magnetized (such as a metal nail) is placed inside a solenoid, the ends of the coils are connected to a circuit that includes a battery.
Current is allowed to flow for a few seconds and then cut off. The polarity of the magnet depends on the direction of flow of current in the solenoid.