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