Cummins Interview Question

Difference between engine and a motor.