Thermodynamics is the branch of science that deals with the movement of heat. Nothing seems simpler, but nothing is more subtle and wide-ranging in it…