function in human digestive system

Present in significant amounts in the vagus nerves and the myenteric plexus, substance P stimulates saliva production, contraction of smooth muscle cells, and inflammatory responses in tissues, but it is uncertain whether it is anything other than an evolutionary vestige.