They both have something to do with thermal energy.
Because the more heat you pump into(/out of) a container, the higher(/lower) its temperature becomes.
Heat is the amount of energy transferred between objects where a difference in temperature is present. So in that sense, heat is related to temperature differences, but is not the same. The...
Heats a measure of energy. Temperature is a measure of hotness
Temperature,heat and thermal energy all deal with kentic energy.