A carbohydrate that is the principal constituent of wood and forms the structural framework of wood cells.