It absorbs excess water in the gastrointestinal tract