In that case, heat energy flows from the warmer object to the cooler one. As heat flows from one to the other, the temperature of the warmer object falls, and the temperature of the cooler object rises. When the temperatures are equal, the flow of heat energy from one to the other stops.