Prucalopride is used to treat chronic idiopathic (unknown cause) constipation (CIC). It works by increasing peristalsis (contractions) in the colon, leading to an increase in the number of bowel movements.