The bile acid is produced in the liver and is secreted into the intestine. The primary function of bile acid is to help in emulsification and digestion, and it also promotes the absorption of lipids.