Star formation
Clouds of cold gas collapse under their own gravity, fragment and ignite fusion. Turbulence and magnetic fields decide how efficient this is.
Stars form in cold, dense molecular clouds. When a region becomes massive enough that gravity beats its pressure, it collapses, fragments and heats up until a protostar ignites hydrogen fusion at its centre. The leftover gas forms a rotating disc around it, and planets can form in the disc. Newborn stars usually appear in clusters, with many more low-mass stars than massive ones.
Star formation is surprisingly inefficient: only a few percent of a cloud's gas turns into stars in each free-fall time, because turbulence, magnetic fields and the radiation, winds and explosions of young stars all push gas apart. The Milky Way now makes about one to two solar masses of new stars per year, while the cosmic star-formation rate peaked around ten billion years ago, a period called cosmic noon.