Thermal energy refers to several distinct physical concepts, such as the internal energy of a system; heat or sensible heat, which are defined as types of energy transfer; or for the characteristic energy of a degree of freedom in a thermal system kT, where T is temperature and k is the Boltzmann constant.
ok, so heat energy is a result to moving particles which are atoms molecules or ions in solids,liquids and gasses. And heat energy can be moved from an object to a other object. The transfer or the flow is different in temperature between the two different of objects which is called heat.