Swollen lymph nodes usually occur as a result of exposure to bacteria or viruses. When swollen lymph nodes are caused by an infection, this is known as lymphadenitis (lim-fad-uh-NIE-tis). Rarely, swollen lymph nodes are caused by cancer.
Your lymph nodes, also called lymph glands, play a vital role in your body's ability to fight off viruses, bacteria and other causes of illnesses. Common areas where you might notice swollen lymph nodes include your neck, under your chin, in your armpits and in your groin.
In some cases, the passage of time and warm compresses may be all you need to treat swollen lymph nodes. Treatment for lymphadenitis depends on the cause.