1. Electric Current: An electromagnet relies on the flow of electric current to generate a magnetic field. This electric current is typically supplied by a battery or other power source.
2. Coil of Wire: The electric current is passed through a coil of wire, which acts as the electromagnet's core. The coil of wire creates a concentrated magnetic field when electricity flows through it.