In the ileum, fats, sugars and proteins are absorbed by little fingers could Villi. This leaves the little hamburger with undigested water. The little hamburger travels through all the small intestines.
The little hamburger arrives at the colon. When the little hamburger arrives at the colon it brings the undigested water with it. As it the little hamburger is getting closer to the rectum it loses most of its water.
Whatever is left of the little hamburger ends up as solid waste that waits in the rectum until it is ready to come out via the anus.
The little Hamburger is ready to come out and makes the human race to the bathroom so it can come out. As soon as it is out the little hamburger is now in the toilet and about to be flushed down. "Bye, thanks for the tour," the little hamburger says.