The stomach lies in the upper part of the abdomen between the esophagus and duodenum which forms the most proximal portion of the small intestine. It mixes food with gastric enzymes and fluids, converting the contents to a semi-fluid mass of partly digested food (termed chyme). The chyme is then slowly passed to the duodenum for further breakdown and absorption.

The stomach is a direct continuation of the esophagus and can be divided into different regions; the most proximal part is the cardia, followed by the fundus, corpus, antrum and pylorus. The fundus and corpus constitute about 80% of the stomach and differs from the antrum and pylorus both functionally and histologically.

At the gastroesophageal junction, the mucosa abruptly changes from stratified squamous epithelium to simple cuboidal. The mucosa is thick and lined with simple columnar epithelium. The surface epithelium invaginates into gastric pits into which the fundus glands open. The fundus glands are straight glands that extend from the lowest portion of the mucosa to their opening at the bottom of the gastric pits. The fundus glands stain darker compared to the gastric pits. In the stomach, the lamina muscularis mucosa consists of two layers of smooth muscle and can easily be recognized. The submucosa is a thick layer of loose connective tissue with numerous blood and lymphatic vessels. Around the entire stomach lays the muscularis externa consisting of three layers of smooth muscle.

Villous folds separate the gastric pits and display a connective tissue core, which is part of the lamina propria. The gastric pits are lined by pale stained simple columnar epithelium that secretes mucus into the stomach lumen. This mucous protects the stomach wall from the acidic gastric contents. A mucinous globule is typically present in the apical portion of the cells. The nucleus is oval in shape.

The fundus glands have a narrow neck, a middle principal part and a lower base. In the neck portion, mucous neck cells are located. Their cytoplasm stains poorly with HE, but they can be recognized by their round nucleus. They secrete acidic mucous. In the principal part, parietal cells are located. They have a strongly eosinophilic cytoplasm and a round, centrally located nucleus. They secrete hydrochloric acid and intrinsic factor. At the base of the glands, strongly basophilic cells are present. These are the chief cells that secrete large amounts of pepsinogen, a proteolytic enzyme.

The distal portion of the stomach, or the pylorus, connects the stomach to the duodenum. It has the same general structure as the fundus and corpus of the stomach with epithelial lined villous folds that invaginate into gastric pits. The cells lining the villous folds are surface mucus cells that produce alkaline mucus to protect the gastric mucosa from the acidic content of the stomach. At the bottom of the gastric pits the pyloric glands open. Instead of being simple tubular glands as the fundus glands, they are branched tubular glands. The cells of the pyloric glands are almost exclusively mucous secreting, resembling the mucous neck cells of the fundus glands. Within the pyloric glands, gastrin producing enteroendocrine cells are also present.