Appendicitis occurs when the appendix located in the large intestine becomes swollen and filled with pus. The general cause of…