Explain why, an electromagnet is called a temporary magnet.

Soft iron core is used in the electromagnets because it loses all its magnetism when the current through the coil stops flowing. While in case of steel, there is still some magnetism even after the current stops flowing through the coil of electromagnet.