sentences:  Assuming the mass of the material is large enough, gravitational compression reduces the size of the core, increasing its temperature until hydrogen fusion can begin.This hydrogen-to-helium fusion reaction releases energy that balances the inward gravitational pressure and the star becomes stable for millions of years.No further gravitational compression occurs until the hydrogen is nearly used up, reducing the thermal pressure of the fusion reaction.