text: In a 2013 paper, the appendix was found to have independently evolved in different animals at least 32 times (and perhaps as many as 38 times) and to have been lost no more than six times over the course of history.  A more recent study using similar methods on an updated database yielded similar, though less spectacular results, with at least 29 gains and at the most 12 losses (all of which were ambiguous), and this is still significantly asymmetrical. This suggests that the cecal appendix has a selective advantage in many situations and argues strongly against its vestigial nature. Given that this organ may have a selective advantage in numerous situations, it appears to be associated with greater maximal longevity, for a given body mass. For example, in a 2023 study, the protective functions conferred against diarrhea were observed in young primates. This complex evolutionary history of the appendix, along with a great heterogeneity in its evolutionary rate in various taxa, suggests that it is a recurrent trait.
  Such a function may be useful in a culture lacking modern sanitation and healthcare practice, where diarrhea may be prevalent. Current epidemiological data on the cause of death in developing countries collected by the World Health Organization in 2001 show that acute diarrhea is now the fourth leading cause of disease-related death in developing countries (data summarized by the Bill and Melinda Gates Foundation). Two of the other leading causes of death are expected to have exerted limited or no selection pressure.