sentences:  A chemical exchange takes place between the alkoxy groups of an ester compound by an alcohol.Usually, methanol and ethanol are used for the purpose.The reaction occurs by the presence of a catalyst, usually sodium hydroxide (NaOH) or caustic soda and potassium hydroxide (KOH), which forms fatty esters (e.g., methyl or ethyl esters), commonly known as biodiesel.