To gain a clearer understanding of the association between frailty and postoperative acute pain in elderly thoracoscopic surgery patients and its underlying mechanisms, to provide new solution ideas to reduce the level of postoperative acute pain and improve the debilitating state of elderly thoracoscopic surgery patients, and consequently improve their quality of life and mental status.