Heat is a form of energy which flows from one body to another when there is a difference in temperature between the bodies.
Whereas, temperature is the thermal condition of the body that indicates whether or not and in which direction, heat will flow from one body to the other.