One of the most basic differences between cake and bread is the leavening agent used to make the batter or dough rise. It is the leavening and the handling of the recipe that influences the final product, and sometimes the amount of sweetness, that gives one finished baked product the title “cake” and another, “bread”.
Cakes tend to be leavened with baking powder and baking soda. There are some products, such as banana bread, or Irish soda bread, that are called “quick breads”, because the baking powder causes them to rise quickly, and they may be baked in a loaf pan, but they are not truly bread, as they tend to be sweet and have the crumbly texture of cake, rather than the smoothness and elasticity of bread.
Bread is traditionally leavened with yeast, and the time it takes for the dough to rise, as well as the kneading of the dough, develops a product that has a much different texture than cake, even though the recipe for a cake or a bread can seem so similar in terms of flour, eggs, milk, shortening, etc.
I have tried some no-knead bread recipes that create a tasty bread, but lacked some of the texture I enjoy in a well-kneaded loaf, and crumbled like cake. I have been served tough, rubbery cake that was not mixed correctly as per recipe instructions that reminded me of bread because of it’s texture. Whether you are baking cake or bread, follow the recipe for best results. If your store sells bread flour and cake flour, buy the one best suited for your recipe. Some stores only sell all-purpose flour, in which case, I recommend sifting your flour several times to improve the texture of any cake recipe.