Bile ducts are a network of thin tubes that carry bile from the liver to the gallbladder and small intestine. Bile is a fluid that helps digest fats in the diet. The bile ducts include intrahepatic ducts within the liver and extrahepatic ducts outside the liver.