A qanat or kārīz is a system for transporting water from an aquifer or water well to the surface, through an underground aqueduct; the system originated approximately 3,000 BC in what is now Iran. The function is essentially the same across North Africa and the Middle East but the system operates under a variety of regional names: qanat or kārīz in Iran, foggara in Algeria, khettara in Morocco, falaj in Oman, karez in Afghanistan, auyoun in Saudi Arabia, et al. The largest extant and functional qanat systems are located in Iran, Afghanistan, Oman, the oases of Turfan region of China, Algeria, and Pakistan.
This is a system of water supply that allows water to be transported over long distances in hot dry climates without loss of much of the water to evaporation. The system has the advantage of being resistant to natural disasters such as earthquakes and floods, and to deliberate destruction in war. Furthermore, it is almost insensitive to the levels of precipitation, delivering a flow with only gradual variations from wet to dry years.
Karez are constructed as a series of well-like vertical shafts, connected by a gently sloping tunnel. This taps into underground water and delivers it to the surface by gravity, without need for pumping. The vertical shafts along the underground channel are purely for maintenance purposes, and water is typically used only once it emerges from the daylight point.