Hypothalamus detects concentration of water in bloodstream.
If levels are too low, then a signal is sent to the pituitary gland.
The pituitary gland releases a anti-diuretic hormone (ADH).
ADH travels through the body to the kidney's, telling them to reabsorb more water back into bloodstream.
As a result water concentration will increase, leading to less urine.
However, if levels get too high, then the hypothalamus will stop sending the signal.
Therefore, the pituitary gland won't release as much ADH.
Leading to more water kept in the tubules.