thermodynamics

The science dealing with the relationship between thermal energy (heat) and all other forms of energy (mechanical, electrical etc).