Why doesn’t the brain feel pain during surgery?

Questions

Why dоesn’t the brаin feel pаin during surgery?