Hello There!
Two common uses for electromagnets are producing strong magnetic fields and also electrical switches. A magnetic field is an invisible field that exerts magnetic forces on substances.