Anesthesia is a treatment that involves using medicine to prevent pain during a medical procedure. It is used for many types of procedures from small ones, like dental work, to major ones, like open heart surgery.