The sphincter of Oddi is a muscular valve that controls the flow of digestive juices, such as bile and pancreatic juice, through ducts from the liver and pancreas into the small intestine. Located at the junction of the bile duct and the pancreatic duct, it plays a crucial role in the digestive system by regulating the release of these fluids.