A pie is a baked dish consisting of a pastry crust filled with sweet or savory ingredients such as fruit, meat, vegetables, or custard. The filling is typically enclosed in the pastry crust and can be topped with a second crust or a crumble topping.