A bile duct is a tube that carries bile between the liver and gallbladder and the intestine. Bile is a substance made by the liver that helps with digestion. There are many problems that can affect your bile ducts.