Yes, thermodynamics is a branch of physics that studies how energy changes in a system. The key insight of thermodynamics is that heat is a form of energy that corresponds to mechanical work (that is, exerting a force on an object over a distance).