A compound that reacts with an acid to give water (and a salt). A base that dissolves in water to produce hydroxide ions is called an alkali. For example, ammonia reacts as follows:
NH3 + H2O ⇌ NH4+ + −OH
Similar reactions occur with organic amines (see also nitrogenous base).