-for alkenes it is CnH2n+2
for alkynes it is CnH2n-2
both alkenes and alkynes are unsaturated
-Condition is that hydrocarbon should be unsaturated.
vegetable oil + hydrogen -----------> vanaspathy ghee
This process is called hydrogenation as hydrogen is been added
rate me and mark brainiest if you find the answer useful