Why was the Nile river so great?

It is the longest river in the world and one of the oldest. It allowed the Egyptians to farm.