what is a form of energy resulting from the temperature difference between a system did it surround