Biodiesel is a fuel produced by mixing different renewable feedstocks (oils and fats), methanol, and a catalyst. The chemical process called transesterification is carried out in the presence of alkaline or acid-based catalysts. After separation and purification, the end products are biodiesel and glycerol by-product, in addition to waste generated in the process.