The formation of stellar halos occurs naturally in a cold dark matter model of the universe in which the evolution of systems such as halos occurs from the bottom-up, meaning the large scale structure of galaxies is formed starting with small objects. Halos, which are composed of both baryonic and dark matter, form by merging with each other. Evidence suggests that the formation of galactic halos may also be due to the effects of increased gravity and the presence of primordial black holes. The gas from halo mergers goes toward the formation of the central galactic components, while stars and dark matter remain in the galactic halo.