Two regions of the brain work together to ensure urination occurs at an appropriate time.