The appendix is a thin, four-inch-long tube located in the lower right area of the abdomen. Appendicitis occurs when the appendix becomes inflamed. Its role has long been a mystery, but some experts believe they have finally discovered its function.