Second Law of Thermodynamics
The second law of thermodynamics is a general principle which places constraints upon the direction of heat transfer and the attainable efficiencies of heat engines. In so doing, it goes beyond the limitations imposed by the first law of thermodynamics. It’s implications may be visualized in terms of the waterfall analogy
Second Law of Thermodynamics: It is impossible to extract an amount of heat QH from a hot reservoir and use it all to do work W . Some amount of heat QC must be exhausted to a cold reservoir.