Shark and dolphin fins are analogous structures.
Analogous structures have similar functions but different underlying structures and evolutionary origins. Homologous structures share underlying structures due to common ancestry, even if functions differ.
Shark and dolphin fins are similar in function—swimming, maneuvering, and balance—but differ in structure and origin. Shark fins are supported by cartilage, while dolphin fins are supported by bone.
Sharks and dolphins evolved from very different ancestors. The similarity is a result of convergent evolution, where unrelated species develop similar traits because they adapt to similar environments and lifestyles.