A confection known as cake was a food item that was sometimes consumed as a slice and frequently as a dessert. At Dex's Diner, one could find Sic-Six-layer cake. Other varieties of cake included Flatcakes and jogan fruitcake.
When Princess Leia Organa of Alderaan was too young to be present at her parents' official events, little sweetmallow cakes were often sent to her room as a form of appeasement.
Luke Skywalker and Nakari Kelen once had a conversation while traveling together about the feared Imperial enforcer Darth Vader, who Skywalker at the time believed had killed his father. Kelen believed that if Skywalker ever had the opportunity to meet and speak with Vader, he should ask him if he had ever eaten cake because if he had, it would indicate that he was once human and thus potentially redeemable.
Rey, in her 19 years of life, had never had cake and eagerly anticipated Han Solo fulfilling his promise of a party with cake for her, Solo, Chewbacca, and Finn after their escape from Starkiller Base.
After Anakin Skywalker allied himself with Darth Sidious and became Darth Vader, he was confronted on Mustafar by Obi-Wan Kenobi, who reminded him that he was prophesied to be the Chosen One. Vader responded by stating that he had chosen the dark side, and that "they" allowed him to consume all the cake he desired. Later, after suffering burns and being forced to wear personal protective armor, he attempted to enjoy a piece of chocolate cake, only to discover that he was unable to eat it due to his armor.