The equilibrium of the star’s substance and, consequently, the existence of the star as a whole is due to the equality of the force of attraction of the substance directed towards the center and the force of gas pressure directed from the center.
The excess of the gas pressure force over the gravitational forces occurs during the explosion of a star; the opposite is true for the collapse of a star.
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.