A pie is defined by the type of crust it has. There are three ways a crust can be used for pies, but they are all made using some type of pastry or dough. furthermore, there are 4 main categories of pies classified according to their filling, all of which have to be cooked and then baked.