Glands of external secretion that release its secretions to the body's cavities, organs, or surface, through a duct.