Anesthesia is a way to control pain during a surgery or procedure by the administration of gases or the injection of drugs before surgical operations.