As a german I would say that bread and cake are very similar, but distinct things, even though the border is very blurry. Take brioche, I think that’s more of a bread, but it’s very soft, moist and sweet, so it leans heavily towards cake.
I’d say in general bread is more savory or neutral, made to be eaten with something, and cake is sweet and supposed to be a food on it’s own.