is the capacitor a surge protector or a power factor corrector or ups or power divertor
It's for starting the motor. Many AC motors work fine as long as they are moving the least little bit. But from a dead stop, the capacitor provides a phase-shifted voltage to an extra winding that gives a little bump to get the motor going.