Pie refers to a dish baked in pastry-lined pan usually with a pastry top