Final answer:
Hydrostatic equilibrium is the process described in the question, where the pressure inside a star balances the weight of its outer parts.
Step-by-step explanation:
The process mentioned in the question is called hydrostatic equilibrium.
Hydrostatic equilibrium is the balance between the weight of various layers and the pressures that support them. In the interior of a star, the inward force of gravity is balanced by the outward force of gas pressure at each point, as shown in Figure 16.11 provided. If the internal pressure is not great enough, the star will collapse somewhat, increasing the pressure inside. On the other hand, if the pressure is greater, the star will expand and decrease the internal pressure.
This process of contraction and expansion continues until equilibrium is reached, where the pressure at every internal point equals the weight of the stellar layers above that point.