working of stator ,rotar.
The stator creates a rotating magnetic field. The rotor is a magnet in this field that is connected to a shaft. When power is applied, the magnet (rotor) starts to follow the rotating magnet field until it catches up to it and the speed stablizes. Simple.
Most AC motors are induction motors. They contain some stationary coils of wire called the stator. The stator is connected to an AC power source and AC current flows through the stator coils. The current in the stator creates a magnetic field that rotates at a speed that is determined by the frequency of the alternating current. The rotating part of the motor, the rotor, contains electrical conductors, usually aluminum bars that are connected together. The rotating magnetic field of the stator passes through these conductors and causes an alternating current to flow in the rotor. The rotor current creates another magnetic field. That magnetic field is attracted to the rotating stator magnetic field. The force of that magnetic attraction, moves the rotor and causes it to rotate at a speed that is only sightly slower than the speed of the stator field.