Electric motors convert electrical energy into mechanical energy.
In a squirrel cage motor the supply current to the stator windings create a magnetic field which attracts the rotor bars. The ratio of the windings to the bars are called poles, hence a 2 pole motor will run at 3000 rpm, a 4 pole at 1500 rpm, a 6 pole at 1000 rpm.