A temporal lobectomy is a surgical procedure in which a portion of the temporal lobe of the brain is removed. The temporal lobe is one of the four main lobes of the cerebral cortex and plays a crucial role in various functions, including memory, auditory processing, language, and emotion.