Here's why:
* Electromagnets rely on electricity: Electromagnets create a magnetic field by using electricity to generate a magnetic force.
* Temporary magnetic field: The magnetic field in an electromagnet is temporary and exists only when electricity is flowing through the coil of wire.
* The core: Some electromagnets have a core made of a ferromagnetic material like iron, which can be magnetized by the electrical current. This core helps to concentrate the magnetic field, making the electromagnet stronger. However, the core itself is not a permanent magnet.
In summary: Electromagnets are created by the flow of electricity through a coil of wire, and they don't contain a permanent magnet. They generate a magnetic field only when electricity is flowing.