Answer: Both play protective function
Step-by-step explanation:
The cell wall is exclusive to plant cell, unlike cell membrane that is present in both.
However, both cell wall and cell membrane are similar in that both provide protection and mechanical support for the cell against foreign invaders such as pathogens.