Electromagnets are magnets powered by electricity, that can be turned on or off as needed. They are used in a variety of applications due to their ability to create strong magnetic fields when powered. Electromagnets are often used in motors and generators, where they generate the necessary torque for rotation. Electromagnets have also been widely