Diencephalon is present in the forebrain.
Functions of diencephalon:-
1)relay centre for sensory impulses, such as pain,body temperature and light
2)reflex centre for muscular activities
3)centre for water balance,blood pressure,body temperature,sleep and hunger
4)centre for certain emotions such as anger
5)the hypothalamus controls the pituitary gland,which functions as the master gland.