Hydrogen atoms contain 1 proton and 1 electron while being devoid of neutrons. When they lose their electron they form an ion or H+, a particle carrying a unit of positive charge. pH measures how basic or acidic a water-based solutions are, with a formula for pH is
pH = -log[H+].
...where pH is -base 10 log of the concentration of hydrogen ions within the solution.