The carbon-carbon double bond in alkenes react with hydrogen in the presence of a metal catalyst. This is called hydrogenation. It includes the manufacture of margarine from animal or vegetable fats and oils.
The hydrogenation of ethene
Ethene reacts with hydrogen in the presence of a finely divided nickel catalyst at a temperature of about 150°C. Ethane is produced.
This is a fairly pointless reaction because ethene is a far more useful compound than ethane! However, what is true of the reaction of the carbon-carbon double bond in ethene is equally true of it in much more complicated cases.
Some margarine is made by hydrogenating carbon-carbon double bonds in animal or vegetable fats and oils. You can recognize the presence of this in foods because the ingredients list will include words showing that it contains "hydrogenated vegetable oils" or "hydrogenated fats". The impression is sometimes given that all margarine is made by hydrogenation - that's simply not true.
Animal and vegetable fats and oils
These are similar molecules, differing in their melting points. If the compound is a solid at room temperature, you usually call it a fat. If it is a liquid, it is often described as an oil. Their melting points are largely determined by the presence of carbon-carbon double bonds in the molecule. The higher the number of carbon-carbon double bonds, the lower the melting point. If there aren't any carbon-carbon double bonds, the substance is said to be saturated. A typical saturated fat might have the structure:
Molecules of this sort are usually solid at room temperature. If there is only one carbon-carbon double bond in each of the hydrocarbon chains, it is called a mono-unsaturated fat (or mono-unsaturated oil, because it is likely to be a liquid at room temperature.) A typical mono-unsaturated oil might be:
If there are two or more carbon-carbon double bonds in each chain, then it is said to be polyunsaturated.
For simplicity, in all these diagrams, all three hydrocarbon chains in each molecule are the same. That doesn't have to be the case - you can have a mixture of types of chain in the same molecule.
Vegetable oils often contain high proportions of polyunsaturated and mono-unsaturated fats (oils), and as a result are liquids at room temperature. That makes them messy to spread on your bread or toast, and inconvenient for some baking purposes. You can "harden" (raise the melting point of) the oil by hydrogenating it in the presence of a nickel catalyst. Conditions (like the precise temperature, or the length of time the hydrogen is passed through the oil) are carefully controlled so that some, but not necessarily all, of the carbon-carbon double bonds are hydrogenated. This produces a "partially hydrogenated oil" or "partially hydrogenated fat".
You need to hydrogenate enough of the bonds to give the final texture you want. However, there are possible health benefits in eating mono-unsaturated or polyunsaturated fats or oils rather than saturated ones - so you wouldn't want to remove all the carbon-carbon double bonds. The flow diagram below shows the complete hydrogenation of a typical mono-unsaturated oil.
The downside of hydrogenation as a means of hardening fats and oils
There are some probable health risks from eating hydrogenated fats or oils. Consumers are becoming more aware of this, and manufacturers are increasingly finding alternative ways of converting oils into spreadable solids. One of the problems arises from the hydrogenation process. The double bonds in unsaturated fats and oils tend to have the groups around them arranged in the "cis" form.
The relatively high temperatures used in the hydrogenation process tend to flip some of the carbon-carbon double bonds into the "trans" form. If these particular bonds aren't hydrogenated during the process, they will still be present in the final margarine in molecules of trans fats. The consumption of trans fats has been shown to increase cholesterol levels (particularly of the more harmful LDL form) - leading to an increased risk of heart disease. Any process which tends to increase the amount of trans fat in the diet is best avoided. Read food labels, and avoid any food which contains (or is cooked in) hydrogenated oil or hydrogenated fat.
Jim Clark (Chemguide.co.uk)