The Vedic religion had much in common with Zoroastrianism, and Vedic Sanskrit and the old Pahlavi, the language of the Avesta, closely resemble each other. Classical Sanskrit and Persian developed separately but many of their root-words were common, as some are common to all the Aryan languages.