Captopril is an angiotensin-converting enzyme (ACE) inhibitor, a type of medication commonly used to treat conditions such as hypertension (high blood pressure), heart failure, and certain kidney disorders. ACE inhibitors work by blocking the conversion of angiotensin I to angiotensin II, a substance that narrows blood vessels and releases hormones that can elevate blood pressure.