Glands are small organs found throughout the body that help with growth, hormones, and the immune system. They release hormones or swell up when fighting illness. The pituitary gland in particular regulates growth by producing hormones, and glands in the neck often swell when a person has a cold as the immune system works to fight it off.