Spironolactone is a medication that belongs to a class of drugs known as aldosterone antagonists or potassium-sparing diuretics. It is…