Thermodynamics is the branch of physics concerning heat and temperature, and their relation to energy and work.