Dear student.
The answer is appendix.
Appendix is a vestigial organ connected to the cecum of large intestine which has lost its functions with time. But in ancestral forms it served the purpose of digesting leaves and some other functions also.
Regards.