A swimming pool at 40°C is at a lower temperature than a cup of tea at 90°C. However, the swimming pool contains a lot more water. Therefore the pool has more thermal energy than the cup of tea even though the tea is hotter than the water in the pool.