Gastritis refers to the inflammation of the stomach lining and results in severe cramping in the stomach or the upper abdomen.