Inflammatory bowel disease or IBD is a term that is used to classify a group of diseases that affect the…