What is the main function of the cell wall?

A. store carbohydrates for later use
B. provide rigid structure for cell
C. package proteins for export
D. carry out photosynthesis