Hydrochlorothiazide is a thiazide diuretic that works by inhibiting sodium and chloride reabsorption in the kidneys’ distal tubules, leading to increased urine output. It is commonly used to treat hypertension, edema, and fluid retention related to heart or kidney conditions.