Nexium is a brand of medication that goes under the generic name Esomeprazole. It falls under the proton pump inhibitor classification. Its main objective is to reduce the amount of stomach acid produced by the body. Once this is achieved, the medication can treat conditions connected to excessive production of stomach acid.