Some biological membranes define an enclosed chemical reaction space, partitioning the inside of the enclosed structure from outside influences, and vice-versa (e.g., the membrane of peroxisomes isolates the cell from peroxides).
Many organelles are largely defined by the existence of such membranes.