You mean fruit?
Suger itself isn't bad, the issue is the consumption of refined sugers like in candy, that cause suger spikes in the bloodstream.
However, fruits naturally contain fiber, which slows down the absorption of suger into the body. This gradual digestion also means you stay fuller longer.
Among other things: