The plant cell wall is the outermost non-living structure of plant cells located outside the plasma membrane. It is composed primarily of cellulose microfibrils embedded in a matrix of pectin, hemicellulose, lignin and sometimes waxes. The cell wall has three layers - the middle lamella, primary wall and secondary wall. The middle lamella acts as a cement between adjacent cell walls. The primary wall is thin and elastic. The secondary wall is thicker and provides strength and rigidity through tightly packed cellulose microfibrils and sometimes lignin. It has three layers - S1, S2 and S3. The cell wall gives mechanical support and protection to plant cells and regulates the passage of materials