Context: A substance's physical and chemical properties are all determined by its chemical structure. Its chemical structure depends on the number and types of atoms in each of its molecules, as well as on how those atoms are arranged.
One property of a substance is its flavor, which is its odor and taste combined. The chemical structure of a substance determines both the kind of flavor it has and the strength of that flavor.
Syrups containing flavorants are used to add flavor to snow cones.
Substances that have especially interesting and strong flavors are often added to food to change or enhance the food's flavor. These substances are called flavorants. Flavorants can be found in nature, made in a chemical factory, or both.
One example of a flavorant is methyl anthranilate. This flavorant is often used to add a grape flavor to syrups, candy, and other sweets. Methyl anthranilate is found naturally in certain types of grapes, but it can also be made by workers in a chemical factory.
Which of the following statements is true?
A. A substance's chemical structure depends only on the number and types of atoms in each molecule of the substance.
B. Both the smell and the taste of methyl anthranilate contribute to its grape flavor.
From the given choices, choose the correct answer and respond with the letter of that choice.

B