This is because bases are substances that donate hydroxide ions (OH-) to water. When a base is dissolved in water, the hydroxide ions from the base combine with the hydrogen ions (H+) in water to form water molecules (H2O). This reaction increases the number of hydroxide ions in water, which raises the pH of the solution.