Membranes are formed by complex lipids that spontaneously self-assemble into a lipid bilayer structure. The lipid bilayer is composed of two lipid monolayers with hydrophilic head groups facing outwards and hydrophobic tails buried inside. Integral membrane proteins span the bilayer, while peripheral proteins are attached to either surface. Membranes compartmentalize cells and carry out important functions like selective transport and signal transduction.