What is the difference between a permanent magnet and an electromagnet?
Permanent magnets produce a magnetic field without the need for any external source of power. An electromagnet generates a magnetic field only when an electrical current runs through it.