Hydrogenation or the addition of hydrogen is a chemical test to differentiate between butter and cooking oil.
Butter contains saturated fats. Therefore, it cannot be hydrogenated. On the other hand, oil has unsaturated fats. That is why it can be
hydrogenated to saturated fats (solids).