What is the function of the stator in a synchronous motor?

Explanation:

The stator in a synchronous motor is responsible for producing the rotating magnetic field that the rotor follows.