Whey you studied thermodynamics ,It is a basic thing to know whey heat is produced by fire.
Generally a mechanical engineer deals with heat produced by friction .
Upload an image: