Why do plant cells have chloroplasts and cell walls?
the answer of this question is The cell wall surrounds the plasma membrane of plant cells and provides tensile strength and protection against mechanical and osmotic stress. and 
 
this answer is for the cell wall