While IBS is primarily considered a functional disorder, some studies suggest the presence of low-grade inflammation. This inflammation can be due to an increased number of mucosal immune cells, including lymphocytes and mast cells, which may release mediators affecting nerve function and causing symptoms.