In the condition of the 3.5 wt. % NaCl solution with pH 2, 7, and 10, it is found that the main ion dissolved in the solution mostly contains photon [H+], hydroxyl [OH‒], and chloride ions [Cl‒], occurring from the decomposition of the NaCl solution, hydrochloric acid, and NaOH solution which is cause the corrosion attack to the sample surface.