This is the longest and most stable stage in a star's life, where the outward pressure from nuclear fusion balances the inward pressure from gravity. During this time, the star is fusing hydrogen in its core, creating helium and releasing vast amounts of energy in the process.