The bile ducts are tubes that carry bile. The main function of bile is to break down fats in food to help our digestion. Bile is made by the liver and stored in the gall bladder. The bile ducts connect the liver and gall bladder to the small bowel. When people have had their gall bladder removed, bile flows directly from the liver into the small intestine.