Discuss six of the major endocrine glands and their functions.