It is called a vestigial structure.
Vestigial structures are anatomical features that do not have a purpose in the present form of the species. It is homologous to other species' structures that is functioning purposefully.
It is considered a proof of evolution.