Working of Heat Engine #8211; A basic heat engine takes heat from the hotter body (source) and after doing some work gives the rest heat to the colder body (sink). Q<sub>1/subgt; = W + Q<sub>2</sub>