Multiple realities(covers information from several alternate timelines)
Chocolate cake was an Earth dessert.
In the 2250s, a menu of Earth foods in the mess hall aboard the USS Discovery listed chocolate cake. This food item was available all hours. (DIS: "Despite Yourself")
In 2269, chocolate cake was served at a picnic on the Shore Leave Planet. (TAS: "Once Upon a Planet")
Counselor Deanna Troi was very fond of chocolate cake; she ordered a slice of the confectionery in Ten Forward in 2368. (TNG: "Imaginary Friend")
In an alternate timeline, this dessert was served at Worf's surprise birthday party in 2370. (TNG: "Parallels")