Vegetable oil comes from the kernel of the oil palm , undergoing a lengthy transformation from crude to refined form. Initially, fresh fruits are sterilized and pressed to extract the first rough oil . This preliminary oil includes several impurities , including unbound fatty acid acids , gums, and pigments . Subsequently, a chain of purification p