The hydroxide ion is a negatively charged ion with the chemical formula OH−. It is formed when an oxide ion (O2-) gains a proton (H+). Hydroxide ions are found in many compounds, including water (H2O), sodium hydroxide (NaOH), and potassium hydroxide (KOH). They also play an important role in many chemical reactions, such as acid-base reactions and precipitation reactions.