1. Dust and gas cloud is present in a galaxy
2. The gravitational attraction between the gas/dust particles draws them together
3. The cloud becomes more concentrated, as the particles get closer
4. The temperature and pressure of the cloud increases as the particles get pushed so close together
5. Eventually the pressure gets so great that the gas/dust particles are able to fuse together, creating a large amount of energy, which opposes the collapsing of the cloud due to gravity, forming a star
6. Eventually the star runs out of gas to fuse, so it collapses, and if massive, produces a supernova, leaving a neutron star or black hole, or if normal-sized, produces a planetary nebula, leaving a white dwarf