The ampulla of Vater, also known as the hepatopancreatic ampulla or the hepatopancreatic duct, is formed by the union of the pancreatic duct and the common bile duct. The ampulla is specifically located at the major duodenal papilla. The ampulla of Vater is an important landmark halfway along the second part of the duodenum that marks the anatomical transition from foregut to midgut, and hence the point where the celiac trunk stops supplying the gut and the superior mesenteric artery takes over. The cystic duct leaves the gallbladder and joins with the common hepatic duct to form the common bile duct. This duct subsequently joins with the pancreatic duct; this junction is known as the ampulla of Vater. The pancreatic duct delivers substances such as bicarbonate and digestive enzymes to the duodenum. The bile from the gallbladder contains salts which emulsify large fat droplets into much smaller units. This provides a large surface area for the lipase enzymes to act on. The bicarbonate neutralises the acidic chyme, creating alkaline conditions for enzymes such as chymotrypsin and amylase to function optimally. Various smooth muscle sphincters regulate the flow of bile and pancreatic juice through the ampulla: the sphincter of the pancreatic duct, the sphincter of the bile duct, and the sphincter of Oddi.