2. The force of gravity pulls the dust and gas together to form a protostar. The temperature rises as the star gets denser and more particles collide with each other. When the temperature gets high enough, hydrogen nuclei undergo nuclear fission to form helium nuclei. This gives out huge amount of energy which keeps the core if the star hot