Substances which change their smell when mixed with an acid or base are known as olfactory indicators. For example onion, vanilla extract, clove oil, etc. Paste or juice of onion loses its smell when treated with a base and retains its distinct smell when treated with an acid.