https://doi.org/10.1351/goldbook.11513
An expansion of the SMILES language that describes a particular specific or generalized substructure.
Examples: The SMARTS that describes any aliphatic ester of a carboxylic acid is "C(=O)OC"; the SMARTS that describes any aromatic ester is "C(=O)Oc"; and two SMARTS that describes both are "C(=O)O[c,C]" and "C(=O)O[#6]".