What rotating structure flattens out around a protostar, feeding it mass and simultaneously serving as the birthplace for future planets?

Answer

Protoplanetary disk

As gas and dust continuously spiral inward toward the rapidly shrinking protostar through accretion, the conservation of angular momentum causes the material that does not fall directly onto the center to flatten into a rotating structure. This structure is the protoplanetary disk. This disk serves a dual crucial role in stellar birth: first, it acts as the primary conduit, feeding the remaining necessary mass onto the central protostar; second, the leftover material within this flattened plane is precisely where the process of planet formation begins, allowing small particles to aggregate into larger bodies around the young star.

What rotating structure flattens out around a protostar, feeding it mass and simultaneously serving as the birthplace for future planets?
starnebulastar formationmechanism