Butter, olive oil and the fat stored in your body are all the same kind of molecule: a big ester, built from one glycerol and three fatty acids.
Glycerol is a chain of three carbons with an -OH group on every carbon, so it is an alcohol three times over.
Drag the model to turn it. Pinch to zoom, or use the buttons.
A fatty acid is a long hydrocarbon chain with a carboxylic acid group, -COOH, on the end. Palmitic acid, named after palm oil, has a chain of 16 carbons. Each -OH on glycerol reacts with the -COOH of a fatty acid, the way ethanol reacts with ethanoic acid, and makes an ester link. Three links give off three water molecules and make one fat molecule, called a triglyceride.
Saturated and unsaturated
In palmitic acid every carbon-carbon bond is a single bond, so each carbon holds as many hydrogen atoms as it can. Chemists call it saturated: full up with hydrogen. Oleic acid, the main fatty acid in olive oil, has one C=C double bond in the middle of its 18-carbon chain, so it is unsaturated. A C=C bond holds its atoms flat and fixed in place, and in oleic acid both halves of the chain sit on the same side of it, so the chain keeps a kink.
Drag the model to turn it. Pinch to zoom, or use the buttons.
Drag the model to turn it. Pinch to zoom, or use the buttons.
Straight chains lie close together, like pencils in a box, and cling to each other along their whole length. Fats rich in saturated chains, such as butter and beef fat, are solid at room temperature. Kinked chains leave gaps between them, so oils rich in unsaturated chains, such as olive oil and sunflower oil, stay liquid. Adding hydrogen across some of the C=C bonds with a nickel catalyst, the addition reaction you met earlier, takes out kinks, and that is how a liquid vegetable oil becomes a solid spread.