<prompt> Answer this question truthfullyIn what medical condition is nitroprusside used, and what is its mechanism of action in treating this condition?  <response>: <reason> Nitroprusside is used in the treatment of hypertensive emergency, and its mechanism of action involves causing vasodilation equally at the arteries and veins via nitric oxide. 