Several studies have looked at the effect of Viagra in a hypoxic (low-oxygen) situation and have found that the drug improves performance by improving exercise capacity (as measured by a number of variables -- such as cardiac output -- that determine how hard the heart has to work to perform exercise tasks).