These envelopes have a dynamic and interesting chemistry, much of which is difficult to reproduce in a laboratory environment because of the low densities involved. The nature of the chemical reactions in the envelope changes as the material moves away from the star, expands and cools. Near the star the envelope density is high enough that reactions approach thermodynamic equilibrium. As the material passes beyond about the density falls to the point where kinetics, rather than thermodynamics, becomes the dominant feature. Some energetically favorable reactions can no longer take place in the gas, because the reaction mechanism requires a third body to remove the energy released when a chemical bond is formed. In this region many of the reactions that do take place involve radicals such as OH (in oxygen rich envelopes) or CN (in the envelopes surrounding carbon stars). In the outermost region of the envelope, beyond about , the density drops to the point where the dust no longer completely shields the envelope from interstellar UV radiation and the gas becomes partially ionized. These ions then participate in reactions with neutral atoms and molecules. Finally as the envelope merges with the interstellar medium, most of the molecules are destroyed by UV radiation.