Electromagnets are insulated wires wound round a soft iron core so that the core becomes magnetized only when current flows within the coil.
Most importantly, we most know what they are used for: electromagnets are used in
✓telephone earpiece
✓carbon microphone
✓electric bell, and
✓magnetic relay.