Viagra, referred to as this drug , is mainly used to treat erectile dysfunction for men. It can also be used in certain situations for alleviating pulmonary high blood pressure in the lungs . Its mechanism of action involves loosening the vessels in the male reproductive area allowing for more ci