The nebula collapsed under its own gravity and, as it did, temperature and pressure increased ... The Sun is expected to be a main sequence star for billions of years.
gravitational attraction tends to collapse the star radiation pressure from the fusion reactions ... released during fusion Key fact In a main sequence star, hydrogen nuclei fuse together to ...