Convergent evolution is the independent evolution of similar features in species of different lineages.
It creates analogous structures with similar form or function but these structures were not present in the last common ancestor of those groups.
The filamentous body forms of slime molds, water molds and the hyphae of fungi is considered a case of convergent evolution because the filaments shape is an adaptation for a nutritional mode as a decomposer.