So is a plate full of pasta or a few slices of bread or even worse juice.
Carbs from sugar and non-sugar are used exactly the same way in your body. Heck people say that soda has so much sugar you would vomit if it wasn't for some additives, but apple juice has more sugar per oz than soda and it doesn't have additives to make you not vomit. Just like life you have to have balance in your diet (I have to much sugar) but it doesn't really matter what sweet you drink or carb that you eat. They all turn into glucose. Now fruit and vegetables will have some other nutrients but in terms of too much sugar people over simplify.