Farsi does *NOT* have its roots in Sanskrit. Only Nothern Indian languages have their roots here. Sanskrit and proto-Iranian have their roots with the same language, which we call as proto-Indo-Iranian.