Heat has randomising influence on a system and temperature is the measure of average chaotic motion of particles in the system. The mathematical relation which relates these three parameters is ΔS = qrev / T
Here, ΔS = change in entropy
qrcv = heat of reversible reaction ‘
T = temperature