OFF ON OFF ON Solenoid (Air Core) Electromagnet (Iron Core) The iron core greatly strengthens the magnetic field.