Hydroxide
Hydroxide is a diatomic anion with chemical formula OH. It consists of an oxygen and hydrogen atom held together by a covalent bond, and carries a negative electric charge. It is an important but usually minor constituent of water. It functions as a base, a ligand, a nucleophile, and a catalyst. The hydroxide ion forms salts, some of which dissociate in aqueous solution, liberating solvated hydroxide ions. Sodium hydroxide is a multi-million-ton per annum commodity chemical. A hydroxide attached to a strongly electropositive center may itself ionize, liberating a hydrogen cation (H), making the parent compound an acid.
Hydrogen halide
The hydrogen halides are diatomic molecules with no tendency to ionize in the gas phase (although liquified hydrogen fluoride is a polar solvent somewhat similar to water). Thus, chemists distinguish hydrogen chloride from hydrochloric acid. The former is a gas at room temperature that reacts with water to give the acid. Once the acid has formed, the diatomic molecule can be regenerated only with difficulty, but not by normal distillation. Commonly the names of the acid and the molecules are not clearly distinguished such that in lab jargon, "HCl" often means hydrochloric acid, not the gaseous hydrogen chloride.