The cell wall of bacterial cells contains a peptidoglycan layer, a cross-linked polymer of polysaccharides and polypeptides, which gives structural rigidity and maintains the cell's shape, integrity, and prevents cell lysis from high osmotic pressure.