A very thin layer that acts as a selective barrier. Membranes surround every living cell (called cell membranes) and control what substances can move in and out of the cell.