The device converting heat energy into mechanical energy is?

Explanation:
Engines convert heat energy into mechanical motion.