Synchronous motors and generators operate by synchronizing the rotation of the rotor's magnetic field with the rotating magnetic field produced by the stator windings. Synchronous motors are used for constant-speed applications like propulsion for large ships. They work by locking the rotor's magnetic field to the rotating stator field. Synchronous generators can be produced by transitioning a synchronous motor driven by a turbine from motor to generator operation as the power angle shifts from negative to positive.