Found in a variety of fruits, particularly apples, malic acid is a naturally occurring compound that has a tart, sour taste. It is used as an apple flavoring.