The brain is responsible for co-ordinating, integrating and controlling the rest of the nervous system. The brain is divided into several parts. Based on phylogenetic development, it can be divided into the forebrain, midbrain and hindbrain. Based on gross anatomy, it can be divided into the cerebrum, cerebellum and brainstem.