Lymph nodes are part of the body’s immune system. A swollen lymph node in the armpit may be a sign of a bacterial or viral infection, an injury, or a serious health condition, such as cancer.