The study of the relationship between energy and its transformations in systems, including the laws of thermodynamics.