The primary acid present in apples is malic acid. Malic acid gives apples their characteristic tart or sour taste. It is a dicarboxylic acid also found in other fruits like grapes and rhubarb, as well as some vegetables. The name "malic" is derived from the Latin word "malum," which means apple.