Galaxies are thought to form from gas cooled from 104 K and much more, to the range 103 K, the cooling resulting from the instigation of Electromagnetic Radiation.
Within galaxies, stars are thought to form from gas (Interstellar Medium) cooled to room temperature and below, even to 10 K, Temperatures at which ionization and dissociation are insufficient to prevent the gas from becoming neutral and molecular, forming Molecular Clouds. Cold Gas can be the result of the cooling of hot gas from stars, or can accumulate in the galaxy through Accretion from the Intergalactic Medium. Such accretion is thought to be one means of triggering a high Star Formation Rate in a galaxy. Cold gas's presence is expected in Starburst Galaxies.
In both cases, there are challenges to detecting the gas, as the thermal Emission is low and at long Wavelengths, and few Spectral Lines are detectable. The 21cm Line, and Tracers of molecular gas such as Carbon Monoxide lines are used. Also, detection of somewhat-less cold gas can be taken as evidence there may be nearby gas has cooled even more.
Active Galactic Nucleus (AGN)
Star Formation (SF)