A fatty acid methyl ester (FAME) can be created by an alkali catalyzed reaction between fats or fatty acids and methanol. The molecules in biodiesel are primarily FAMEs.