The cell wall is a rigid covering that protects the cell, provides structural support, and gives shape to the cell. Cell walls are found in both prokaryotes and eukaryotes, although not all cells have cell walls. In Figure 7, the diagram of a plant cell, you see a structure external to the plasma membrane which is the cell wall. Fungal and protist cells also have cell walls.
While the chief component of prokaryotic cell walls is peptidoglycan, the major organic molecule in the plant cell wall is cellulose, a polysaccharide made up of long, straight chains of glucose units. When nutritional information refers to dietary fiber, it is referring to the cellulose content of food. Fungal cell walls are made up of a molecule called chitin.
Animal cells do not have cell walls.
Text adapted from: OpenStax, Concepts of Biology. OpenStax CNX. May 18, 2016 http://firstname.lastname@example.org