Carboxylation is a chemical reaction in which a carboxylic acid is produced by treating a substrate with carbon dioxide. The opposite reaction is decarboxylation. In chemistry, the term carbonation is sometimes used synonymously with carboxylation, especially when applied to the reaction of carbanionic reagents with CO. More generally, carbonation usually describes the production of carbonates.