1. A cloud of dust and gas, also known as a nebula, becomes a protostar, which goes on to become a main sequence star
2. Gravity begins to pull the dust and gas together
3. As the mass falls together, it gets hot. A star is formed when it is hot enough for the hydrogen nuclei to fuse together to make helium. The fusion process releases energy, which keeps the core of the star hot
4. During this stable phase in the life of a star, the force of gravity holding the star together is balanced by higher pressure due to the high temperatures
5. When all the hydrogen has been used up in the fusion process, larger nuclei begin to form, and the star may expand to become a red giant
6. When all the nuclear reactions are over, a small star like the Sun may begin to contract under the pull of gravity. In this instance, the star becomes a white dwarf which fades and changes color as it cools
7. A larger star with more mass will go on making nuclear reactions, getting hotter and expanding until it explodes as a supernova