The tartness of an apple is derived from the balance of malic acid and the fruit’s natural sugars.