You can make an apple pie two different ways. One involves cooking up an apple pie filling and for this you must cook the apples first. The second kind, however, starts with raw apples. The heat that bakes the pie bakes the apples. The two methods yield slightly different kinds of pie.