The cerebral cortex is divided into four lobes, each with distinct functions. For example, the frontal lobe is involved in thinking and personality, the parietal lobe processes sensory information, the temporal lobe handles memory and auditory processing, and the occipital lobe is responsible for visual processing