Yes, surgeons use general anesthesia to put you to sleep. It is used to make your body unable to move during surgery.