An engine is something that produces some effect, normally called work from a given input. In automobiles this effect is rotational torque which causes motion. In a 3d game this might be animation. The origin of engineering was the working of engines.
There is an overlap in English between 'Those who operate engines' and 'those who design and construct new items'.
A special case is the air engine which is driven by compressed air.
see also diesel engine