Cake symbolizes the pleasurable part of life. The dream may also depend what you are doing with the cake.
If you are eating the cake and enjoying it means you are enjoying life and what life has to offer, for example.
However, if the cake is giving you a stomachache, this may be a sign you need to check your inhibitions.
Share your dream, get it solved.