The process of administering anesthesia to a patient before a medical procedure to ensure they are unconscious and pain-free.