Mastectomy is a surgical procedure that involves the removal of one or both breasts. It is often used as a treatment for breast cancer or as a preventive measure for individuals who are at high risk of developing the disease. The surgery can be performed as an open procedure or with the use of minimally invasive techniques.