Cholangitis is an inflammation of the bile ducts, which are the channels that carry bile from the liver to the gallbladder and small intestine. This condition is often caused by a bacterial infection, but it can also result from other factors such as a blockage in the bile ducts.