Heat Transfer and States of Matter