A motor which receives electric power and generates mechanical power. They are broadly categorized into direct-current (DC) motors and alternating-current (AC) motors.