DIAMOX, containing the active ingredient Acetazolamide, is a medication primarily used to treat various medical conditions, including glaucoma, altitude sickness, and certain types of seizures. It works by inhibiting an enzyme called carbonic anhydrase, leading to a decrease in the production of aqueous humor in the eye, which helps lower intraocular pressure.