A motor converts potential energy into mechanic work (usually rotational). Hydraulic and electrical motors arre common.
An engine converts chemical/thermodynamic energy into mechanical work...by definition it uses fuel of some sort.
Vacuum cleaners have motors. Cars and airplanes have engines.