The removal of some or all of the lymph nodes from the armpit to see if the breast cancer has spread beyond the breast.