This is a randomized clinical trial in U.S. Veterans to evaluate the impact of treatment for obstructive sleep apnea (OSA) on the effectiveness of cardiac rehabilitation, including impact on exercise capacity, disability, and quality of life.