A chemical reaction between two compounds in which parts of each are interchanged to form two new compounds (AB+CD=AD+CB)