The structure-function differences of homologous and analogous structures

Why is studying comparative anatomy important in understanding the structure-function differences of homologous and analogous structures