Anesthesia is a way to control pain during a surgery or procedure using medication. The types of medications used for this purpose are called anesthetics. Anesthesia can help control breathing, blood pressure, and heart rate.