Spironolactone is a medication primarily used to treat fluid retention (edema) in conditions such as heart failure, liver cirrhosis, and kidney disease. It also has anti-androgenic effects, making it useful in treating hormonal acne and hirsutism in women, as well as being a key component in the management of high blood pressure.