Electromagnets, which rely on electrical current to generate magnetic fields, are used to powering everything from medical equipment to consumer…