How does it work that we eat few times a day, but usually we poop only once?

Is the colon somehow programmed to buffer the waste until the time is up and then dumps it all further?