The cell wall is a tough , flexible and sometimes rigid layer that surrounds some types of cells .
The cell wall is the tough , usually flexible but sometimes fairly rigid layer that surrounds some types of cells .