The hypothalamus integrates many inputs, including pain, strong depressing or exciting thoughts, smells (directly and through the amygdaloid nuclei), and blood levels of nutrients, electrolytes, water and hormones. It uses this information to control pituitary hormone secretion.