Electromagnets
An electromagnet is a type of magnet that generates a magnetic field when an electric current flows through it. It typically consists of a coil of wire wrapped around a core made of ferromagnetic material, such as iron. When electricity passes through the wire, the core becomes magnetized, allowing the electromagnet to attract or repel other magnetic materials.
Electromagnets are widely used in various applications, including electric motors, transformers, and magnetic locks. Their strength can be easily adjusted by changing the amount of electric current, making them versatile for different uses. Unlike permanent magnets, electromagnets can be turned on and off, providing greater control in many devices.