In the anatomy of the brain of vertebrates, the forebrain or prosencephalon is the rostral-most portion of the brain. The forebrain, the midbrain, and hindbrain are the three primary portions of the brain during early development of the central nervous system. It controls body temperature, reproductive functions, eating, sleeping, and any display of emotions.