(n)enginemotor that converts thermal energy to mechanical work