Nitric oxide (NO) promotes the relaxation of smooth muscles surrounding blood vessels, increasing blood flow. This action is mediated by cGMP as a second messenger, which is converted to GMP by the enzyme PDE5. The E.D. drug Viagra inhibits the hydrolysis of cGMP to GMP, thus prolonging the vasodilation and hence erection.