In this case , the gland is called endocrine gland . If the substance is released to somewhere else , the gland is called exocrine gland .
A gland is an organ in an animal 's body that synthesizes a substance for release such as hormones or breast milk , often into the bloodstream ( endocrine gland ) or into cavities inside the body or its outer surface ( exocrine gland ) .