"менять" has two basic meanings:
1) 'to change, to make different'. Eg: менять окружающую среду, менять образ жизни, менять прическу etc. In this meaning, "изменить" is the perfective pair to the imperfective "менять" (along with another imperfective form "изменять").
2) 'to exchange for / to replace with another' (usually meaning physical exchange/replacement). Eg: менять вещи местами, менять одежду/обувь -- to change dress/shoes etc. In this case, "изменить" cannot be used as the perfective pair to менять.