A soap is the sodium or potassium salt of a long-chain fatty acid. The fatty acid usually contains 12 to 18 carbon atoms. The source of the fatty acids is either from animal fats or vegetables which are esters of carboxylic acids. They have a high molecular weight and contained alcohol and glycerol. Chemically, these fats and oils are called triglycerides.