Temperature versus pressure graph of an ideal gas is shown in the given figure. During the process AB