As the temperature is increased, thermal energy increases.
When we talk about thermal energy, we’re referring to the internal energy present in a system due to the random motions of its molecules. Temperature is a measure of the average kinetic energy of these molecules. Therefore, when the temperature rises, it indicates that the molecules are moving more vigorously, which leads to an increase in the thermal energy of the system.
For example, consider heating a pot of water. As the water’s temperature increases, the molecules within it move faster. This increase in molecular motion directly correlates to a rise in thermal energy. So, in summary, when temperature rises, thermal energy increases as well.