A cell wall is a fairly rigid layer surrounding a cell, located external to the cell membrane, which provides the cell with structural support, protection, and acts as a filtering mechanism. The cell wall also prevents over-expansion when water enters the cell !