Homologous structures arise from a common ancestor through divergent evolution (adaptive radiation). Conversely, analogous structures arise in unrelated species through convergent evolution, where different species evolve similar traits to solve similar environmental problems.