Thermodynamics is the branch of science which deals with energy changes in physical and chemical processes. In general,It is concerned with the interconversion of various from of energy (heat,mechanical,electrical,chemical energy.etc) into one another.