A heated body indeed has a higher energy and, according to Einstein's equation E=mc², it becomes slightly heavier due to the increase in energy. This effect, while scientifically significant, is too small to be noticed in everyday life. In a balloon filled with gas, the energy of each gas molecule increases as the temperature rises, leading to increased molecular speed and energy. The total mass of the gas in the balloon includes not only the sum of the individual molecular masses but also their kinetic energy contributions. Thus, heating the gas results in an increase in the overall mass of the balloon.