<human>:  Who invented the apple pie?
<bot>: The apple pie was invented by the Pilgrims in the 17th century. The Pilgrims were a group of religious separatists who came to the New World in the 1600s. They were fleeing religious persecution in England. The Pilgrims were the first to settle in the New World, and they brought with them their traditional English recipes. The Pilgrims were also the first to grow apples in the New World, and they used these apples to make pies.