1) Thermodynamics is the branch of physics that deals with heat and work. The first law of thermodynamics states that the change in internal energy of a system equals the heat added to the system minus the work done by the system.
2) The second law of thermodynamics states that heat cannot spontaneously flow from a cooler body to a hotter body. All real-world processes are irreversible and cause the entropy of the universe to increase.
3) Heat engines use heat to perform work. The efficiency of heat engines is limited by the temperatures of the hot and cold reservoirs according to the Carnot efficiency formula. Refrigerators and heat pumps operate according to similar principles but use work to transfer