The pylorus is located between the stomach and duodenum.