Gastric juice production is regulated by both the autonomic nervous system and hormones. The parasympathetic nervous system and hormone gastrin stimulate parietal cells to produce gastric acid, acting directly on the cells and indirectly by stimulating the secretion of histamine from ECL cells. Gastric acid production is tightly regulated by positive regulators like histamine release and negative feedback mechanisms. Four cell types are involved: parietal cells, G cells that secrete gastrin, D cells that secrete somatostatin, and ECL cells.