The group of Finno-Ugric languages also includes Finnish , Estonian , Lappic ( SÃ mi ) and some other languages spoken in the Russian Federation . Out of these it is Khanty and Mansi that are the most closely related to Hungarian . Mainstream linguistics has demonstrated that Hungarian is part of the Uralic family of languages , related ultimately to languages such as Finnish and Estonian , although it is particularly close to Khanty and Mansi languages located near the Ural Mountains .