It is also used in cosmetics and pharmaceuticals.