Viagra, formally known as sildenafil, is a medication primarily prescribed for treating erectile dysfunction (ED), also referred to as impotence. It functions by enhancing blood supply to the reproductive area, which is essential for achieving and sustaining an erection. While mainly used for ED,