Spironolactone is similar in structure to aldosterone and is a competitive inhibitor of aldosterone. It acts on the distal tubule and collecting duct of the kidney, blocking sodium-hydrogen and sodium-potassium exchange, thus blocking the sodium- and potassium-retaining effects of aldosterone. Since it only acts on the distal tubule and the collecting duct of the kidney, it has no effect on other segments of the tubule, so its diuretic effect is weak. In addition, spironolactone has certain effects on other target organs of aldosterone, and can be used for the diagnosis and treatment of primary aldosteronism. It is also useful in other edematous diseases, hypokalemia and hypertension. However, spironolactone also has side effects, such as causing gynecomastia, impotence, and menstrual irregularities in women.