Binary compounds are compounds composed of just two elements. The simplest kind of decomposition reaction is when a binary compound decomposes into its elements. Mercury(II) oxide, a red solid, decomposes when heated to produce mercury and oxygen gas.