What does An Appendix do?

Research has shown that the appendix has little use to our bodies, people disagree that there must be a reason why we have an appendix. Back in the old days it was thought that the appendix was used to break down the grass and plants that people ate.