Eplerenone is a medication primarily used to treat heart failure and hypertension. It is classified as a selective aldosterone receptor antagonist. By blocking aldosterone, a hormone that increases blood pressure, eplerenone helps to reduce blood pressure and prevent complications associated with heart disease.