Sugar is a carbohydrate and vice versa !
ALL sugars are simple carbohydrates, more complex carbohydrates such as starch, flour, fibre ..... are all based on assemblies of the basic "sugar" carbohydrate molecular ring structure. Sugars such as sucrose are digested instantly, at the other end of structural complexity fiber is not digested but provides bulk to assist elimination.