Only after metals—which is what astronomers call heavy elements—were present could the smaller stars (like our Sun) form in cooler, denser regions, and the structure we now observe be created.
Two questions: why do astronomers call all heavy atoms metals even when there are plenty of non-metal heavy atoms, like Carbon? Second, why do we need the heavier elements to create smaller stars?