Thousands of galaxies have already been formed because a star can generate incredible heat through its many mineral atoms. This, in turn, can lead to the formation of planets, which, through the gravity of the star, can develop their own biological resistance (Bioresilience).
Mercury, Venus, Earth, and Mars are closest to the Sun because they are composed of mineral rocks, and thus their cores are composed of mineral atoms. Their biological resistance is regulated by the heat absorption from the sun thru System A and System B. To be biologically resistant within the galaxy and to generate life, System A can only absorb so much Heat from the sun that allows cooling through system B. If this fails, there will be no life on the planet's surface.