Thermal energy refers to the energy contained within a system that is responsible for its temperature. Heat deals with the flow of thermal energy. Temperature is the physical manifestation of thermal energy, and deals with whether it feels cold or hot.