<Ul> <Li> </Li> <Li> </Li> <Li> </Li> </Ul> <P> Star formation is the process by which dense regions within molecular clouds in interstellar space, sometimes referred to as "stellar nurseries" or "star - forming regions", collapse and form stars . As a branch of astronomy, star formation includes the study of the interstellar medium (ISM) and giant molecular clouds (GMC) as precursors to the star formation process, and the study of protostars and young stellar objects as its immediate products . It is closely related to planet formation, another branch of astronomy . Star formation theory, as well as accounting for the formation of a single star, must also account for the statistics of binary stars and the initial mass function . </P> <P> A spiral galaxy like the Milky Way contains stars, stellar remnants, and a diffuse interstellar medium (ISM) of gas and dust . The interstellar medium consists of 10 to 10 particles per cm and is typically composed of roughly 70% hydrogen by mass, with most of the remaining gas consisting of helium . This medium has been chemically enriched by trace amounts of heavier elements that were ejected from stars as they passed beyond the end of their main sequence lifetime . Higher density regions of the interstellar medium form clouds, or diffuse nebulae, where star formation takes place . In contrast to spirals, an elliptical galaxy loses the cold component of its interstellar medium within roughly a billion years, which hinders the galaxy from forming diffuse nebulae except through mergers with other galaxies . </P> <P> In the dense nebulae where stars are produced, much of the hydrogen is in the molecular (H) form, so these nebulae are called molecular clouds . Observations indicate that the coldest clouds tend to form low - mass stars, observed first in the infrared inside the clouds, then in visible light at their surface when the clouds dissipate, while giant molecular clouds, which are generally warmer, produce stars of all masses . These giant molecular clouds have typical densities of 100 particles per cm, diameters of 100 light - years (9.5 × 10 km), masses of up to 6 million solar masses (M), and an average interior temperature of 10 K . About half the total mass of the galactic ISM is found in molecular clouds and in the Milky Way there are an estimated 6,000 molecular clouds, each with more than 100,000 M . The nearest nebula to the Sun where massive stars are being formed is the Orion nebula, 1,300 ly (1.2 × 10 km) away . However, lower mass star formation is occurring about 400--450 light years distant in the ρ Ophiuchi cloud complex . </P>

Where are newly formed stars found in a spiral galaxy