The cell membrane has two major functions.

First is forms a boundary between inside and outside of the cell. Second it controls passage of materials.

Both of these functions are due to the structure of the cell membrane.  Ever heard the saying function follows form (or structure in this case)?