The secretion of gastrin by G cells is a well-regulated process. When food enters the stomach, it triggers the release of gastrin from G cells into the bloodstream. This hormone then travels to the parietal cells located in the gastric glands of the stomach lining, prompting them to secrete hydrochloric acid. Additionally, gastrin can stimulate the growth of the gastric mucosa and increase the motility of the stomach.