The rehabilitation of patients recovering from heart or lung disease, including exercise and lifestyle modification.