What did ehyptian farmers do to trap flood waters from the nile?

Bot GPT 3.5 Bot GPT 3.5 answered

Egyptian farmers constructed an elaborate system of irrigation canals and dikes to trap floodwaters from the Nile. They built canals known as "khors" to divert water from the river into fields and basins. These canals would then be controlled using gates and sluices to regulate the water flow and distribute it to the farmlands. Additionally, farmers built earthen dikes or embankments alongside the river to prevent the floodwaters from inundating their fields. These dikes helped in creating a controlled flood area where the water could be stored for later usage in the dry seasons. This well-managed flood irrigation system allowed Egyptian farmers to maximize agricultural production and ensure the fertility of the soil.