Star formation

Star formation means the earliest stages in a star's life. Dense regions of particles exist in molecular clouds known as "stellar nurseries". The clouds collapse under gravitation into spheres of plasma to form stars. 
Stellar nurseries.
High density regions of the interstellar medium (ISM) form clouds, or "nebulae", where star formation takes place. 
Dense nebulae.
In the dense nebulae where stars are produced, much of the hydrogen is in the molecular (H2) form, so these nebulae are called molecular clouds. The largest such formations, giant molecular clouds, have densities of 100 particles per cm3, diameters of , and masses up to 6 million solar masses, and an average interior temperature of 10 K. About half the total mass of the galactic ISM is found in molecular clouds. In the Milky Way there are about 6,000 molecular clouds, each with more than 100,000 solar masses. The nearest nebula to the Sun where massive stars are being formed is the Orion nebula, away. However, lower mass star formation is occurring about 400–450 light years distant in the ρ Ophiuchi cloud complex.
A more compact site of star formation is the opaque clouds of dense gas and dust known as Bok globules; so named after the astronomer Bart Bok. The Bok globules are typically up to a light year across and contain a few solar masses. They can be seen as dark clouds against bright emission nebulae or background stars. Over half the known Bok globules have been found to contain newly forming stars.
Spiral galaxies.
A spiral galaxy like the Milky Way contains stars, the remains of stars (stellar remnants) and a diffuse interstellar medium (ISM) of gas and dust. The interstellar medium consists of 10–4 to 106 particles per cm3 usually of about 70% hydrogen by mass, with most of the remaining gas consisting of helium. This medium is chemically enriched by trace amounts of heavier elements that were ejected from stars as they passed beyond the end of their main sequence lifetime. 
Elliptical galaxies.
In contrast to spirals, an elliptical galaxy loses the cold component of its interstellar medium within about a billion years. This hinders the galaxy from forming diffuse nebulae except through mergers with other galaxies.
W75N(B)-VLA2.
This is a massive protostar about 300 times brighter than our Sun. Astronomers have caught a key stage in the birth of a very heavy star. They used two radio telescope views of the process 18 years apart. The young star is 4,200 light-years from Earth and is surrounded by a doughnut-shaped cloud of dust.
The first observation was in 1996. By 2015 its stellar wind changed from a compact spherical form to a larger, ionized elliptical shape. This gave information about what happens as a massive star forms. Being able to observe its rapid growth is unique, according to Huib van Langevelde of Leiden University, one of the authors of a study of the object.