The general equation for the hydrogenation can be written as follows: -
Hydrogenation of alkenes
Examples:
The addition of hydrogen to a double bond (on a double bond) is known as hydrogenation.
Vegetable oils such as corn oil, cotton- seed oil, groundnut oil are unsaturated fats composed of fatty acids that contains double bonds. They are in liquid state a room temperature.
The process of hydrogenation is used commercially to convert the double bonds in the unsaturated fats in vegetable oils to saturated fats. Due to the presence of double bonds, vegetable oils undergo addition of hydrogen (hydrogenation) just like alkenes to form saturated products called vegetable ghee, vanaspati ghee, margarine which are more solid.

Adjusting the amount of hydrogen, that is added, produces partially hydrogenated fats such as soft margaoune, solid margaaoune in sticks, and shortenings, which are used in cooking. For example: Oleic acid is a typical unsaturated fatty acid in olive oil and has a double bond at carbon 9. When oleic acid is hydrogenated, it is converted to acid, a saturated fatty acid.