The production of a substance by the union of chemical elements, groups, or simpler compounds, or by the degradation of a complex compound