Arabic and Farsi are totally different languages, but both with a mostly common alphabet, overlapping vocabulary (nearly all going from Arabic to Farsi), and with ties to Islam. The similarity is a bit like that between English and French.