I'm pretty sure that you're talking about an "electromagnet", and that you actually meant an iron core .
A current-carrying wire wrapped around an iron core is called an electromagnet. The iron core enhances the magnetic field produced by the electric current in the wire, making it much stronger. This technology is widely used in various devices, including motors and transformers.
;