a cake or pie on a grill on a table
Two chocolate cakes sitting on a rack in cake pans.
Two cakes sit on a countertop cooling rack. 
A cake is cracked as it comes fresh out of the oven
A cake in a pan sitting out on a cooling rack.