what role does temperature have in the direction of heat flow?
Heat is the flow of energy from a high temperature location to a low temperature location. This flow of energy is always associated with changes in the system and the surroundings. There can be changes in the temperature, changes in the state of matter and changes that result from the doing of work.