Base-catalyzed transesterification reacts lipids (fats and oils) with alcohol (typically methanol or ethanol) to produce biodiesel and an impure coproduct, glycerol. If the feedstock oil is used or has a high acid content, acid-catalyzed esterification can be used to react fatty acids with alcohol to produce biodiesel. Other methods, such as fixed-bed reactors, supercritical reactors, and ultrasonic reactors, forgo or decrease the use of chemical reaction that reduces the quality of substance in chemistry.