A cell wall is like a wall of a room: it marks the "inside" and "outside"; protecting what is inside of the wall: the organelles of the cell. It is made of a little more durable and strong material than the intracellular fluid, but it's also quite flexible.