The function of GERD and diverticulosis is to break apart food, absorb nutrients and dispose of waste. Digestion is a complex process that is regulated by hormones and neurons. It requires the physiologic movement of food, the production of digestive enzymes and the absorption and transportation of nutrients to the rest of the body.