Homology involves the study of organs that have evolved from the same origin or from a common ancestor but have different functions. For example, wings of a bat and hands of humans. Analogy involves the study of organs that are evolved from different ancestors but perform a similar function. For example, wings of a bat and wings of insects.