Craniotomy is a base term to describe a brain operation to treat a number of different conditions, including brain tumors, head injuries, cerebral aneurysms, pain, epilepsy, or infection. During a craniotomy, an incision is made in the scalp and a small section of the skull is cut and removed so that the surgeon can access the brain (the piece is then securely fashioned back in place upon completion).