A food sensor
G cells live in the lower part of your stomach, close to where it joins the small intestine. They're tucked between many other lining cells.
A G cell is shaped a bit like a vase. Its thin top reaches the inside of the stomach and has a tiny brush that can sense food. Its wide bottom is full of little bubbles of gastrin.
G cells are a kind of cell that both senses things and makes a hormone. There are many cells like this in your gut!