Lignin is a complex organic polymer found in the cell walls of many plants, particularly in wood and bark. It is one of the most abundant organic compounds on Earth, second only to cellulose. Lignin provides structural support, rigidity, and protection to plants, enabling them to grow tall and withstand various environmental stresses.