Which metal is commonly used as a electromagnet?

A ) Copper

B ) Iron ✅

C ) Nickel

D ) Cobalt