Thermal Energy Depends On What Two Things