Torta (Spanish for “cake”) comes from the Latin torta, meaning “a loaf of bread that’s round”. Bread, after all, was a treat, until sugar conquered our diet!
From that same Latin root, we also get the English… tart. A pop tart is a type of cake, after all!
The t‑r-t root is clearly visible in both.