Apple pie was an Earth food consisting of a baked apple pastry.
The mess hall chef aboard the USS Enterprise-C, while on an "Old Earth kick", would serve apple-walnut pie. (TLE novel: Well of Souls)
Apple pie was listed by Tom Paris as one of the many things he loved about Earth's 20th century. (ST reference: Star Trek Cookbook)