Wood is a complex, primarily organic substance, with cell walls containing large carbohydrate polymer molecules including cellulose and lignin which is a phenylpropene polymer, together smaller amounts of a variety of inorganic and organic compounds.