The purpose of this study is to determine the effects of a physiotherapy prehabilitation programme (walking and deep breathing exercises) in cardiac or thoracic patients by measuring changes in lung volumes, functional capacity physiotherapy length of stay postoperatively.