Tomato flavor is determined by a balance of acidity and sugars. The volatile compounds may also influence the taste. It is dependent on the interaction of the plant’s genetics with the environment. A tomato with high sugar and low acid content has a sweeter taste.