I believe you mean aldactone.its removes water from body.
Fluid outside lungs can be of many causes. Heart problem,
kidney problem, infections are all common causes of fluid built up in diabetics. So if your physician has put you on the drugs he must have diagnosed something.
Next Steps
Do discuss with your physician about the reason for swollen ankles and fluid built up..