A piece of cake has two distinct layers.
There is a piece of cake on the plate ready to be eaten.
A plate filled with cake and looks very delicious. 
A slice of cake and a fork on a plate.
The slice of cake is on the plate with a fork.