Food & water
Tea and coffee still add to your body's water, despite caffeine's reputation.
Caffeine is a mild diuretic. In people who haven't had any for days or weeks, a large dose, at least 250 to 300 mg, or two to three cups of coffee, briefly increases how much urine they make.
But regular drinkers develop a tolerance to this effect and don't pass extra urine. For them, a cup of tea or coffee is mostly just water.