Researchers have developed monolithic, nitrogen-containing, microporous, cellular-activated carbon from phenol-urea-formaldehyde (PUF) organic foam for CO2 and H2 adsorption. The macroporosity corresponded to the connected network of cells with diameters ranging from 100 to 600 μm, and the pinholes in the cell walls had diameters ranging from 1 to 2 μm. The micro/mesoporosity is located at the inner surface of the cells.