<Tr> <Td_colspan="2"> Anatomical terminology (edit on Wikidata) </Td> </Tr> <P> A bile duct is any of a number of long tube - like structures that carry bile, and is present in most vertebrates . </P> <P> Bile, required for the digestion of food, is secreted by the liver into passages that carry bile toward the hepatic duct, which joins with the cystic duct (carrying bile to and from the gallbladder) to form the common bile duct, which opens into the intestine . </P> <P> The biliary tree (see below) is the whole network of various sized ducts branching through the liver . </P>

Where does the bile duct lead to and what substance does it carry
find me the text answering this question