Heat and temperature are two different but closely related concepts. Heat is the cause but. Temperature is the effect. Heat is a form of energy but temperature is the property of a body which indicates the hotness or coldness of a body. Note that they have different units: temperature has units of degrees Celsius (°C) or Kelvin (K), and heat has units of energy, Joules (J).
Heat transfer is a result of temperature difference. Heat transfer occurs only in the direction from a hot object to a cold object. Thus temperature determines the direction of heat flow i.e., it determines whether the body will receive heat from another body or give heat to the body.
Temperature is a measure of the average kinetic energy of the atoms or molecules in the system. It is a measurement of how fast the atoms or molecules are moving within an object. The faster they move, the hotter is the object.