a temporary magnet made by coiling wire around an iron core; when current flows in the coil the iron becomes a magnet
百科解释
An electromagnet is a type of magnet in which the magnetic field is produced by the flow of electric current. The magnetic field disappears when the current is turned off.