Swollen lymph nodes, or swollen glands, in the neck may indicate an infection. They can also occur due to a medical condition, such as an immune disorder or, less commonly, cancer. Treatment can ...