Most people spend most of their day and night dehydrated! You may not need to pee. Our body aims to keep things in homeostasis or an equilibrium.
Youlll pe if you need to get rid of toxins, have too much fluid in your body/not enough sodium(salt) or Potassium, have an infection etc etc etc..
it gows mouth, throat, stomach, intestines some goes into your bllod stream combined with salts and other electrolytes.
Your liver filters toxins once broken down, your kidneys will reciev these toxins and combine with urea to filter them into urine, then to your bladder then out. Some of the fluids are reabsorbed in our colon if we don't have enoughh fluids in our body.
but its more complex than that.
Drink when you need to we should have clear persistant pee.
Urinate when you need to, DONT WORRY