Spanakopita is a Greek spinach pie consisting of a buttery, flaky phyllo pastry with a filling of cooked spinach, lemon juice, feta cheese, and sometimes dill. It can be served either as a small snack, an appetizer, or a light main course. Due to a farming tradition of handheld foods, the pies were originally invented for the field workers who would carry them in their pockets and consume them while working.
Although spanakopita has humble beginnings, it has risen to greater gastronomic heights, so today it can be found in most Greek diners, taverns, and upscale restaurants. It is likely that the dish originated 400 years ago, during the Turkish occupation of Greece, since a Turkish dish called ispanaki is almost identical in presentation.