According to mass–energy equivalence, all forms of energy (not just rest energy) exhibit mass. For example, adding 25 kilowatt-hours (90 megajoules) of energy to an object in the form of heat (or any other form) increases its mass by 1 microgram; if you had a sensitive enough mass balance or scale, this mass increase could be measured. Our Sun transforms nuclear potential energy to other forms of energy; its total mass does not decrease due to that in itself (since it still contains the same total energy even if in different forms), but its mass does decrease when the energy escapes out to its surroundings, largely as radiant energy.