The process of becoming suited to new or different environmental conditions or for particular functions.