Phospholipids are a special type of lipid. While a usual triglyceride is composed of a glycine molecule bonded to three fatty acid molecules, a phospholipid replaces one of the fatty acids with a phosphate group (Figure 1).
Unlike the fatty acids, which are hydrophobic, the phosphate group is strongly polar, and prefers being in contact with water. This makes the entire molecule one that contains both hydrophobic, and hydrophilic regions. This type of molecule is called ampithatic.
The presence of both of these regions in the same molecule means that the hydrophobic regions of the molecule must be buried away from water, while the hydrophilic regions must be exposed to it. This is difficult for a single molecule to achieve in a single solvent, as the molecule would by definition be either hydrophobic or hydrophilic.
However, many phospholipid molecules together are able to satisfy both their phosphate group's need to be exposed to water, and their fatty acid's need to be buried away from water. One conformation that achieves this is the phospholipid bilayer (Figure 2). A layer of phospholipid molecules has a hydrophilic surface formed by the phosphate groups and a hydrophobic surface formed by the fatty acid groups. This would allow for a membrane to form between a hydrophobic and hydrophilic environment, however, the two hydrophobic surfaces can themselves stick together, allowing a membrane between two hydrophilic environments.
This phospholipid bilayer is the basis behind cell membranes. This membrane is a way of separating water based solutions from one another using a simple molecular structure. This allows compartmentalization, meaning that certain compounds and reactions can occur in specific parts of an organism which are specialized in those reactions. The bilayer is a simple to form and flexible way of achieving this. Many membrane proteins can be present in the membranes, which allow communication and transport across the membrane.
All in all, membranes are fascinatingly complex structures built upon the relatively simple chemical properties of phospholipids.