A branch of physics dealing with heat and temperature and their relationship to other forms of energy such as mechanical, electrical, or chemical energy.