Inflammatory bowel disease (IBD) is an inflammation or swelling in the gastrointestinal tract.  There are two types of IBD: ulcerative colitis and Crohn's disease. These diseases are not contagious.