Article: In most bacteria, a cell wall is present on the outside of the cell membrane. The cell membrane and cell wall comprise the cell envelope. A common bacterial cell wall material is peptidoglycan (called "murein" in older sources), which is made from polysaccharide chains cross-linked by peptides containing D-amino acids. Bacterial cell walls are different from the cell walls of plants and fungi, which are made of cellulose and chitin, respectively. The cell wall of bacteria is also distinct from that of Archaea, which do not contain peptidoglycan. The cell wall is essential to the survival of many bacteria, and the antibiotic penicillin is able to kill bacteria by inhibiting a step in the synthesis of peptidoglycan.

Now answer this question: What are the main materials of cell walls of plants and fungi?
cellulose and chitin