Diamox contains the active ingredient acetazolamide, which belongs to a class of medications called carbonic anhydrase inhibitors. It works by reducing the production of fluid in the eye, decreasing intraocular pressure. This medication is suitable for individuals with conditions such as glaucoma to help manage high eye pressure.