Ericsson Interview Question

Why capacitor is used in ceiling fans ?