Once food is in the small intestine, it stimulates the pancreas to release fluid containing a high concentration of bicarbonate. This fluid neutralizes the highly acidic gastric juice, which would otherwise damage the membrane lining of the intestine, resulting in a duodenal ulcer.
Hope it Helped.