If you put a hot substance and a cold one in contact, the hot one will cool down and the cold one will warm up.