In the Hunsdiecker reaction, carboxylic acids are converted to organic halide, whose carbon chain is shortened by one carbon atom with respect to the carbon chain of the particular carboxylic acid. The carboxylic acid is first converted to its silver salt, which is then oxidized with halogen:
Many organometallic compounds react with halogens to give the organic halide: