Swollen lymph nodes in neck and night sweats. Are these related?

Can be serious. Causes of night sweats include: menopause, idiopathic hyperhidrosis (you sweat too much), infections (tuberculosis is most commonly associated), cancer, medication, neurological causes, hormone problems, low blood sugar. I suggest you see your doctor.