Task: Question Answering
Input (English): 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?  
 (A) gravitational force (B) magnetic force (C) electric force (D) friction force
Output (English): B