Indeed, galaxy gas undergoes dramatic transformations. Initially, it's mostly hydrogen and helium. But as stars form and die, they enrich the gas with heavier elements, fostering the development of planets and possibly life.