Why do we go to the bathroom?

After we digest something, our body is urging us to go to get the yuckys out.