What is the Appendix for?

Up until now scientists don’t believe that our appendix has any function. Its thought that in the middle ages we may have used the appendix to digest the plants and crops that was eaten. As we no longer eat raw crops and plants we don’t have a need for it.