A fatty acid is a carboxylic acidwith a long side chain of hydrocarbons. Most fatty acids contain an even number of carbon atoms in the hydrocarbon chain and follow the general molecular formula of CH3(CH2)xCOOH where x is the number of carbon atoms in the hydrocarbon chain.