G cells, also known as gastrin cells, are a type of enteroendocrine cell located primarily in the antrum of the stomach and occasionally in the duodenum. These cells are responsible for the secretion of the peptide hormone gastrin, which plays a crucial role in the regulation of gastric acid secretion.