Which item produces the magnetic field in the electromagnet?
A-paperclips
B- a switch
C-paint brushes
D- a magnet