Ancient farmers in arid regions used canal systems and terracing techniques to capture and distribute water for irrigation, allowing them to grow crops in otherwise dry landscapes.