That's the difference. i win. Lol!A pie has a crust and a filling and sometimes a topping or top crust. Pies are generally fruit or cream.
A cake is a sweet leavened product that is a batter that raises when baked. It can have a filling between layers and generally has a frosting or topping. They are generally round.
I had to look it up