The study of the interrelation of heat and work with chemical reactions or with physical changes of state.