Depending on the temperature, density, and ionization state of a portion of the ISM, different heating and cooling mechanisms determine the temperature of the gas.
Depending on the temperature, density, and io:nizati?on state of a portion of the ISM, different he?ating and cooling mechani!sms determine the temperature of t?he gas.