A heat engine is a device for converting heat into mechanical energy for the performance of work.
(A heat engine; is; a device for converting heat into mechanical energy for the performance of work)
A heat engine
is
a device for converting heat into mechanical energy for the performance of work