human
Question: Wire was looped several times around an iron nail, and the wire's ends were connected to a battery. For which of these will this device most likely be used?

Choices:
A) to produce a heat source
B) to demonstrate frictional forces
C) to create a magnetic field
D) to generate a sound wave
gpt
The correct answer is 2: to create a magnetic field.