Margarine contains unsaturated good fats as it is made from vegetable oils. This helps to lower lipoprotein or bad cholesterol.But butter is made from animal fat which contains more of saturated fats.This fat increases the cholesterol level in humans and so it is harmful in nature.