Gastritis is an inflammation of the stomach lining. It can be acute, developing suddenly, or chronic, lasting for a longer period. This condition can result from various factors, including infection, prolonged use of nonsteroidal anti-inflammatory drugs (NSAIDs), excessive alcohol consumption, and stress.