https://www.oxfordlearnersdictionaries.com/us/definition/english/pie
a baked dish of fruit or meat and/or vegetables with pastry on the bottom, sides and top
Websters: a dessert consisting of a filling (as of fruit or custard) in a pastry shell or topped with pastry or both