A law that states that it is impossible to construct a device that operates in a cycle and produces no effect other than the transfer of heat from a cooler body to a hotter body. This law sets the limit on the amount of heat energy that can be converted to useful work energy.