A cake is a dessert made from a thick batter that is similar to bread but sweeter. The batter typically includes flour, sugar, eggs, and oil or butter. A pie is usually baked with a pastry crust and either a fruit or creamy filling. A cheesecake has a custard filling in a pastry or cookie-type crust. It may or may not have fruit, chocolate, cream, candy, and other ingredients. It can be either baked or chilled to set and is made with cream cheese as a main ingredient most of the time.