It is a polysaccharide, which is repeating units of a monosaccharide joined together by a glycosidic bond by a condensation reaction, there is a by-product of water, found in plants. It is very tough because when you join beta glucose together, they are opposite ways up, the bonds are straight, forming straight chains. There is hydrogen bonds between the polymers.
These fibers are in bundles of about 40, called microfibrils. Microfibrils are embedded in a hydrated network of other polysaccharides. The cell wall is assembled in place. The parts are made inside the cell and then assembled by enzymes associated with the cell membrane.