Heat engines is a device which transforms the chemical energy of a fuel into the thermal energy and utilizes this thermal energy to perform useful work, this thermal energy is converted to mechanical energy .heat engines are classified into internal combustion and external combustion engines.