Ancient Egyptian Farming/Agriculture and its relationship/reliance on the Nile River

How did the Agriculture in Ancient Egypt thrive from the geographical location of the its civilization and it reliance of the Nile River? Throughout history, Egypt has celebrated the relationship between the land they farm and the Nile River. What are developing factors of the relationship between the Nile and Egyptian farming capabilities?