The "gut" generally refers to the gastrointestinal tract.
Thorough work up of abnormal gastrointestinal function may include evaluation by a gastroenterologist. She/he may perform a variety of exams and/or biopsies to determine if your function is normal. Chronic intestinal pain is common and can be difficult to diagnose and treat. Search out a good specialist to help.