It may symbolize the sweet and pleasurable parts of life. The dream may be interpreted according to your interaction with the cake in the dream.