Your question doesn't make much sense as it stands, so I'm going to make some assumptions.
Heat is a measure of energy. It is measured in joules.
Temperature can be defined as the measure of the vibration of particles (if I remember correctly, there are various other ways to define it as well.)
A cup of water at a high temperature (if I'm remembering correctly, temperature can be defined as the measure of the vibration of particles in a substance) can have the same heat as a bath of water as a lower temperature.
You can use the equation Q=mc∆T to work out changes in thermal energy. Q is thermal energy (heat) and ∆T is the temperature change.