The hypothalamus is responsible for regulating body temperature, hunger, thirst, sleep, and circadian rhythms. It also plays an important role in controlling emotions such as anger and fear. It is connected to the pituitary gland via the infundibulum (hypophyseal stalk).