Diagram showing liver and related parts of the digestive system Bile is produced by the liver, and serves to eliminate cholesterol and bilirubin from the body, as well as emulsifying of fats to make them more soluble in water and aid in their digestion. Bile is formed in the liver by hepatocytes (liver cells) and excreted into the common hepatic duct. Part of the bile is stored in the gall bladder because of back pressure (exerted by the sphincter of Oddi), and may be released at the time of digestion. The gallbladder also concentrates the bile by absorbing water and dissolved salts from it. All bile reaches the duodenum (first part of the small intestine) through the common bile duct and the ampulla of Vater. The sphincter of Oddi, located at the junction of the ampulla of Vater and the duodenum, is a circular muscle that controls the release of both bile and pancreatic secretions into the digestive tract. The biliary tree is normally relatively free of bacteria because of certain protective mechanisms. The sphincter of Oddi acts as a mechanical barrier. The biliary system normally has low pressure (8 to 12 cmH2O) and allows bile to flow freely through. The continuous forward flow of the bile in the duct flushes bacteria, if present, into the duodenum, and does not allow the establishment of an infection. The constitution of bile—bile salts and immunoglobulin secreted by the epithelium of the bile duct also has a protective role. Bacterial contamination alone in absence of obstruction does not usually result in<unk> . However increased pressure within the biliary system (above 20 cmH2O) resulting from obstruction in the bile duct widens spaces between the cells lining the duct, bringing bacterially contaminated bile in contact with the blood stream. It also adversely affects the function of Kupffer cells, which are specialized macrophage cells that assist in preventing bacteria from entering the biliary system. Finally, increased biliary pressure decreases production of IgA immunoglobulins in the bile. This results in bacteremia (bacteria in the blood stream) and gives rise to the systemic inflammatory response syndrome (SIRS) comprising fever (often with rigors), tachycardia, increased respiratory rate and increased white blood cell count; SIRS in the presence of suspected or confirmed infection is called sepsis. Biliary obstruction itself disadvantages the immune system and impairs its capability to fight infection, by impairing the function of certain immune system cells (neutrophil granulocytes) and modifying the levels of immune hormones (cytokines). In<unk> , it is assumed that organisms migrate backwards up the bile duct as a result of partial obstruction and decreased function of the sphincter of Oddi. Other theories about the origin of the bacteria, such as through the portal vein or transmigration from the colon, are considered less likely.
Ascending cholangitis
HELLP syndrome
Primary biliary cholangitis
Biliary pseudolithiasis
Gallstone ileus
Cholangitis 
Pancreatic abscess
Recurrent pyogenic cholangitis