Well it affects the binding properties of the enzyme, if a molecule is the wrong shape then the enzyme will not bind, and vice versa. The side chains affect the shape of both enzymes and molecules, so they will either decrease or increase specificity to a particular molecule.