polymers capable of reversibly complexing carbon dioxide and other acid gases and a method of producing such polymers are disclosed . in a preferred embodiment , the present polymers incorporate amine groups capable of reversibly complexing carbon dioxide to produce an environmentally safe foamed polymer product . because the reaction of an amine and co 2 is a reversible reaction , and because the amines are incorporated into the polymer backbone , the foamed polymers can be reverted to foamable polymers simply by collection , washing , granulating , and re - exposure to co 2 . the polymers are environmentally desirable as carbon dioxide is non - toxic and is easily isolated from the atmosphere . moreover , the process recycles the gas continually , rather than generating new gases .