Question: A student wraps a wire around an iron nail. The student then connects the wire to a battery. The nail attracts another nail and they stick together. What force holds the two nails together?

  Options: 
 A. gravitational force
 B. magnetic force
 C. electric force
 D. friction force
Answer: B