The biliary system includes the liver, gallbladder, and pancreas.
This article explores the anatomy and function of the biliary system.
It also discusses some of the associated conditions and how they are diagnosed and treated.

VectorMine / Getty Images
Bile
Bile is a greenish-brown, thick substance produced in the liver and stored in the gallbladder.
The extrahepatic ducts are located outside of the liver and are connected to the liver and gallbladder.
Their function is to transport bile.
Note that some bile ducts are also located inside the liver.
These drain bile out of the organ and are called intrahepatic ducts.
Aberrant ducts are not anatomically structured the way they should be.
For example, the ducts may abnormally join the wrong ducts, so that bile does not flow properly.
This condition most commonly occurs from a gallstone, but can also be because of atumoror another underlying cause.
Bile is a greenish-brown substance that helps break down fats and absorb nutrients.
Bile is produced in the liver and stored in the gallbladder.
It is released when you eat a fatty meal.
Gallstones can cause problems in the biliary system when they block bile ducts.
Conditions of the biliary system are usually diagnosed with liver function tests and/or imaging tests or biopsy.
Di Ciaula A, Garruti G, Lunardi Baccetto R, et al.Bile acid physiology.Ann Hepatol.
2017;16 Suppl 1:S4-S14.
Dave HD, Shumway KR, Al Obaidi NM.Physiology, biliary.
In: StatPearls [Internet].
Treasure Island (FL): StatPearls Publishing.
National Institute of Diabetes and Digestive and Kidney Disease.Definition and facts for gallstones.
Hundt M, Wu CY, Young M. Anatomy,Abdomen and pelvis: biliary ducts.
In: StatPearls [Internet].
Treasure Island (FL): StatPearls Publishing.
Karaliotas CC, Papaconstantinou T, Karaliotas CC.Anatomical variations and anomalies of the biliary tree, veins and arteries.
In: Karaliotas CC, Broelsch CE, Habib NA, eds.Liver and Biliary Tract Surgery.
Kostov DV, Kobakov GL.Six rare biliary tract anatomic variations: implications for liver surgery.EAJM.
2020;26(14):1638-1646. doi:10.3748/wjg.v26.i14.1638
Gallaher JR, Charles A.Acute cholecystitis: A review.JAMA.
2022;327(10):965-975. doi:10.1001/jama.2022.2350