What cosmic bodies have negative heat capacity? Why?

In contrast to terrestrial bodies, the heat capacity is negative for stars. If the energy of the star increases, then the star expands and cools down. Cooling occurs due to work against the forces of gravity.

Remember: The process of learning a person lasts a lifetime. The value of the same knowledge for different people may be different, it is determined by their individual characteristics and needs. Therefore, knowledge is always needed at any age and position.