An appendectomy is the surgical removal of an inflamed or infected appendix, typically performed as an emergency procedure to prevent the organ from rupturing. It is commonly done using minimally invasive laparoscopic surgery, which involves small incisions, less pain, and faster recovery (often 1–3 weeks) compared to traditional open surgery.