Bile juice is a digestive fluid produced by the liver. It is stored and concentrated in the gallbladder. Its main function is to convert fats in food into fatty acids, which are absorbed in the gut.