Magnesium is in Esomeprazole as a salt form which provides stability for the medication.