An analogy compares one thing to something else that functions in a similar way. For example, you might say a person who works very hard for a long time is "like a machine."
A cell membrane provides protection for a cell. It transports waste out of the cell and allows nutrients to come into the cell. So, we can conclude that this analogy is true.