To illustrate the conclusion that the heat evolution accompanying a change in state of a system is not determined by the initial and final states alone but depends also on the path,and in particular on the work done by the system during the change, let us consider a system composed of a sample of a perfect gas, initially at temperature T and pressure p and finally at the same temperature T and smaller pressure p.