For decades, scientists considered the appendix useless.