It is valid to extol the fact that most of the magnetic machines are rotating, however, the linear type can also be found. In the case of rotary motors, the rotating element is called the rotor, https://www.mrosupply.com/hydraulics-and-pneumatics/hose-reels/2208219_pw81000-ohp_reelcraft/ and the stationary part, the stator. The motor is composed of electromagnets installed in grooves of the ferromagnetic material, which form the rotor body. Basically, the fundamental idea in which all electromagnetic motors are idealized is that there is a mechanical force in the whole wire when conducting the electric current if it is immersed in a magnetic field.
Most of the electrical components perform their functions through the interaction between the electromagnetic fields, although there are also some other different types of electric motors, based on several electromechanical phenomena, such as electrostatic forces. Briefly, force is described by the Lorentz force law, being perpendicular to the wire and also to the magnetic field. When it comes to a rotating motor, there is a rotating element, which is nothing more than the rotor. The rotor performs the rotation by the wires and the magnetic field are arranged so that a torque can be developed on the rotor center line.