Apples are often seen as a simple healthy snack, but some varieties contain more beneficial compounds than others.