The process by which unrelated lineages develop similar traits because they occupy the same type of ecological role in different places (example: toucans and hornbills).