Eplerenone is a medication primarily used to treat high blood pressure and heart failure. It is classified as an aldosterone antagonist, which means it works by blocking the hormone aldosterone. This helps in reducing the amount of sodium and water retained by the body, which in turn lowers blood pressure and lessens the strain on the heart.