An appendectomy is a surgical procedure to remove the appendix, a small, tube-shaped pouch attached to the large intestine. This procedure is typically performed as an emergency surgery when the appendix becomes inflamed and infected, a condition known as appendicitis. If not treated promptly, an inflamed appendix can rupture, leading to serious health complications.