All substances that are sweet in taste are considered as sugar.
All that is sweet in taste are not sugars. Glycerol which is sweet in taste is not a sugar solution.