The hydrology of Hungary is mostly determined by Hungary's lying in the middle of the Carpathian Basin, half surrounded by the Carpathian Mountains. All parts of the country have some outflow. All surface water gravitates towards its southern centre, and from there, is united in the Danube, which flows into the Black Sea. The whole of Hungary lies within the Danube drainage basin.