An electric current produces a(n):

A) solenoid
B) magnetic field
C) magnet
D) insulator

B) magnetic field