The correct answer is "convergent evolution".
Convergent evolution is defined as the process wherein organisms from different ancestors or even organisms from different phylums in an extent develop similar traits as a result from thriving in the same environment. The most commonly observed example is the flying mechanism shared by insects, birds, bats (mammals), and even pterosaurs (reptiles).