Diverticulitis is a condition where small pouches called diverticula form in the lining of the colon (large intestine) and become inflamed or infected. It typically occurs due to the development of diverticulosis, a condition characterized by the presence of these pouches.