and they are closely related to each other. But Latvian and Lithuanian are Indo-European languages, and somewhat closely related to Slavic languages.
Finnish and Estonian are believed to be more closely related to Hungarian, another non-Indo-European language, than to the other languages of Europe.