It depends on the context, but unless you are talking about a literal slice of cake, it’s disrespectful to say to a woman because it refers to her body. Basically what it means is that you think she has a big behind or something along those lines. It’s not recommended to say this to anyone, especially not in formal situations, but even in casual situations it comes across as inappropriate.