1. Gravity pulls dust and gas together to form a protostar
2. As the protostar grows, its gravity increases, attracting more dust and gas
3. The protostar's density and temperature rise, leading to nuclear fusion
4. Nuclear fusion releases energy, creating a stable main sequence star