When you touch a hot cup of hot tea, the heat energy of the cup flows into your hand, because the cup has a higher temperature than your hand. You feel the heat, or energy flow from hot to cold. Heat is the thermal energy that is transferred from one body to another and it always flows from a substance with a higher temperature into the substance with a lower temperature.
Heat energy is useful for doing many kinds of work.
DOES NOT mean that its temperature must increase. Temperature, on the other hand, provides a measurement of the movement of the atoms and molecules of a substance. Temperature is a relative quantity that tells us the direction energy will flow when two objects come into contact. When you put a pot of water over a flame and watch its temperature rise, the flame gives heat to the pot and the water and raises their temperature. A bigger pot with more water needs more flame and fuel to get the same increase in temperature in the same time.