Viagra works by enhancing the effects of nitric oxide to relax the penile muscles, expand blood vessels that go into the penis, and improve penile blood flow. So far, no studies have found any foods that provide these same benefits for ED.