In thoracic surgery, postoperative pain will reduce the patient's motor function, adversely affect lung function, increase the rate of postoperative complications, and potentially chronic pain syndrome after surgery.