Diuril is prescribed to work either as an adjunct or primary therapy for individuals with high blood pressure or as an adjunct medication for people with edema to enhance the effectiveness of other antihypertensive drugs.