It is common to represent two reacting or as A and B. These could be anything formula from a single atom to a large molecule.
In a synthesis reaction, two (or more) substances join together to form a single substance, which we write as AB. By writing the letters together (with no + sign between them) we mean they have bonded together to make one substance.
Here are a couple of examples: