All cells have a cell membrane, also known as a plasma membrane, which separates the interior of the cell from the external environment.
A semipermeable lipid bilayer makes up the cell membrane.
Cell membranes and plastic bags both function as selectively permeablebarriers. This implies that they prevent various things from passing through while allowing some.
A plastic bag has countless undetectable, microscopic holes, just like a cell membrane, that allows small molecules to pass through.
Both cannot allow larger molecules to pass through.