The formation of solar systems: The primordial cloud of gas and dust begins to collapse under its own gravity. The cloud fragments and each piece continue to collapse. Finally there are 5 protostars surrounded by disks of dusty gas that will form their planets.