Lignin is important because it is deposited on the cell wall of the xylem cells providing impermeability and rigidity to the xylem vessels.