Viagra (sildenafil) relaxes muscles and increases blood flow to particular areas of the body. Viagra is used to treat erectile dysfunction (impotence) in men.