I am on the record, stating my great preference for pie over cake. Pie, as a form, is more flexible than cake, as it can be savory (chicken pot pie, e.g.) or sweet.
Picking this totally random day, here are some of my favorite songs about pie.
American Pie- Don McLean. Also the name of a series of movies about libidinous teenagers.
Apples Peaches Pumpkin Pie – Jay & The Techniques. I remember that game. This 1966 song I’m fairly sure one of my sisters owned, perhaps on the album. “Marry you so you don’t roam.” What a controlling guy.
Custard Pie -Led Zeppelin. I was shocked, SHOCKED to find out that this song from Physical Graffiti might be about…something else. Would Zeppelin actually use food items as metaphors for sex?
Flaming Pie – Paul McCartney. The album’s title track about how John Lennon named the Beatles.
Honey Pie – the Beatles. This doesn’t talk about food at all, but is rather a term of endearment. What IS it with Macca and pie?
I Can’t Help Myself (Sugar Pie, Honey Bunch) – Four Tops. More affectionate use of the term.
Sweet Potato Pie – Ray Charles. From the Genius Loves Company album (2004), this track features James Taylor, who had written and performed the song for his Never Die Young album (1988).
High Hopes – Frank Sinatra. Specifically: “He’s got high, apple-pie-in-the-sky hopes.” Apple pie in the sky as dreamer.
Lots of pie songs out there in a simple Google search. Here’s one list .