Heat: Energy transfer that takes place solely because of a temperature difference is called heat flow or heat transfer, and the energy transferred in this way is called heat.
Heat always flow from high temperature to low temperature because any system always wants to be in minimum energy state.