Thanks to the fact that the river flooded every year and deposited layers of fertile silt on the surrounding land, agriculture could develop here. Ancient Egyptians cultivated wheat, flax, and papyrus in the nearshore areas of the Nile. Most agricultural production was used for Egyptian needs, but the surplus was traded, which hugely impacted the development and wealth of this ancient civilization.