electromagnet

noun
  1. a magnet that is created by passing an electric current through a coil of wire wrapped around an iron core

Examples