The Nile river is the longest river in the world. It measures about 4,160 miles in total length, and it travels through a total of ten different countries. It ends its incredibly long journey in the Mediterranean Sea. A bit before that though, the Nile splits into two separate branches. Those branches are the Rosetta and the Damietta, and both of them flow into the Mediterranean Sea.
As for where the Nile begins, there is not a single location. There are two starting locations because the Nile has two main tributaries. The White Nile begins at Lake Victoria in East Africa, and the Blue Nile begins at Lake Tana in Ethiopia. Those two tributaries eventually merge in Khartoum which is the capital city of Sudan.