What does brain surgery involve and what are the types?