The bile secreted by the hepatic cells passes through the hepatic ducts and is stored and concentrated in a thin muscular sac called the gall bladder.
The duct of the gall bladder (cystic duct) along with the hepatic duct from the liver forms the common bile duct.
The bile duct and the pancreatic duct open together into the duodenum as the common hepato-pancreatic duct which is guarded by a sphincter called the sphincter of Oddi.
The hepatopancreatic sphincter is a valve that guards the opening of the hepatopancreatic duct into the duodenum.