If It Works, Don’t Question It
So, we looked on Google for the answer to how general anesthesia works. First of all, general anesthesia will knock your whole body out, whereas local anesthesia will numb a portion of your body. According to Google, general anesthesia interrupts nerve signals to your brain, preventing it from registering pain.
But how does it work at the molecular level? We’re going to have to take the OP’s word for it and say nobody knows. There’s no way we’re going to pour over hundreds of research articles to find out how it works. As long as we don’t feel pain while undergoing invasive surgery, we’re completely fine not knowing.