By some sources, the word pie comes through Middle English pye, from Latin pīca (“magpie, jay”), from the idea of the many ingredients put into pies likened to the tendency of magpies to bring a variety of objects back to their nests, though this has its controversies.