Crohns disease and ulcerative colitis are the two types of inflammatory bowel disease.