The salivary gland is an example of an accessory organ of the digestive system. Which of the following statements describes the general function of this type of digestive organ?