Ulcerative colitis is an inflammatory bowel disease (IBD) that causes inflammation and ulcers (sores) in the digestive tract. Ulcerative colitis affects the innermost lining of the colon and rectum.