Gastroenteritis is a common condition that causes inflammation in the gastrointestinal tract (stomach and intestines). This inflammation causes vomiting and diarrhoea, which can be acute (occurs suddenly and resolves quickly) or chronic (lasting for two or more weeks).