The pylorus is the distal part of the stomach ("pyloric") bordering the sphincter, which is formed from the thickened circular muscle of the stomach wall. It distinguishes the acidic environment of the stomach from the duodenum (duodenum).