Irritable bowel syndrome is a chronic condition that causes abdominal pain and changes in bowel habits, affecting the frequency of bathroom visits and the consistency of stool.