Thermal energy and particle behavior