Phosphodiesterase-5 inhibitors are a class of medications that primarily treat erectile dysfunction and pulmonary arterial hypertension by enhancing nitric oxide-mediated vasodilation. They work by inhibiting the enzyme PDE5, which leads to increased levels of cyclic guanosine monophosphate (cGMP) and improved blood flow in specific tissues.