The first pies were very simple and generally of the savory (meat and cheese) kind.
Flaky pastry fruit-filled turnovers appeared in the early 19th century.
The derivation of the word may be from magpie, shortened to pie.
The explanation offered in favour or this is that the magpie collects a variety of things, and that it was an essential feature of early pies that they contained a variety of ingredients." ---The Oxford Companion to Food, Alan Davidson, 2nd edition, Tom Jaine editor [Oxford University Press: Oxford] 2006 (p.
In the cradles of civilization (Mediterranean region including Ancient Rome, Greece, Mesopotamia, Egypt and Arabia) the primary fat was olive oil.