Pylorus is a part of digestive system that separates stomach and duodenum. The pylorus controls the opening between the stomach and the duodenum. It stops large pieces of food from leaving the stomach. It also stops digested food from returning to the stomach from the duodenum. It is made of a muscle which stops food when contracted. When the pylorus is relaxed, it allows a small amount of food to pass as its passage is narrow.