Ancient civilizations used advanced engineering techniques to access water for both health and luxury.