How does fiber work in the intestines?

Fiber is a natural cleanser and regulator that prevents stools from becoming too loose, dry or hard. It absorbs up to 30 times its own weight in water, bulking up and softening other material in the digestive tract.