The forebrain is the main thinking part of the brain and includes the cerebrum, which is responsible for higher cognitive functions. The midbrain, pons, and medulla are part of the brainstem and primarily handle reflexes, basic life functions, and signal relay - not thinking or reasoning.