Viagra is a brand name medication invented and marketed by Pfizer. Its main ingredient is sildenafil, which is responsible for its positive effect on treating erectile dysfunction. Generic versions of Viagra are available, which have the same active ingredient: sildenafil. The information about Viagra in this document applies to approved prescription medications for erectile dysfunction that contain sildenafil.