Persian and Greek are both Indo-European languages but belong to different branches: Persian is Indo-Iranian, Greek is Hellenic. They share a common ancestor but evolved independently for millennia.
Both languages have rich histories and have been influenced by other cultures (Persian by Arabic/Turkish; Greek by Latin/Slavic). Overall, they are quite different but share some structural and lexical similarities due to their Indo-European roots.