Please choose the correct answer to the question: When an iron nail wrapped in a copper wire is attached to a circuit, it forms

Answer1: a battery. Answer2: an engine. Answer3: an insulator. Answer4: an electromagnet.

Answer format: answer1/answer2/answer3/answer4
Answer: answer4