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