Which organ system is responsible for producing hormones that regulate metabolism, growth, and reproduction?