As the demand for paper grew, wood pulp was substituted for rags as a source of cellulose. Wood pulp also contains lignin, an organic polymer that imparts rigidity to the paper, but lignin oxidizes easily, causing the paper to discolor. Paper made from wood pulp that has not been treated to remove the lignin is used for books and newspapers for which a long life is not an important consideration.