When there is excess production of acid in the stomach, it results in the condition known as acidity.