Mastectomy is primarily performed for the following reasons:
To treat breast cancer by removing cancerous tissues. As a preventative measure for those with a high risk of breast cancer, such as individuals with BRCA1 or BRCA2 genetic mutations. In cases where other treatments like chemotherapy and radiation therapy are not effective or viable.