Write any four functions of cell wall

(1)It provides definite shape to cell and protects protoplasm.
(2)It gives rigidity and support to the tissues of the plant.
(3)It counteracts osmotic pressure and prevents bursting of plant cells due to endosmosis.
(4)It takes part in offence and defence.