Any of the cells in the gastric glands in the wall of the stomach that produce hydrochloric acid, which forms part of the gastric juice. The oxyntic cells also produce intrinsic factor, which is involved in the absorption of vitamin B12 in the small intestine (see vitamin b complex).