Apple pie is an apple dessert where apples are the filling between two crusts made from shortcrust pastry. Apple cake, on the other hand, is diced apples surrounded by a batter made primarily of butter, flour, and sugar.