Fatty acid methyl esters (FAME) are a type of fatty acid ester that are derived by transesterification of fats with methanol. The molecules in biodiesel are primarily FAME, usually obtained from vegetable oils by transesterification. They are used to produce detergents and biodiesel.