The main difference is that a loaf is always baked in a loaf pan, where as cakes are baked in square or round pans.