Fruits are also packed with nutrients/vitamins and are way more satiating than a small can of coke, the later serving 0 purpose in a diet besides temporarily relieving a sugar addiction
The salient point intended by my comment is that nutritionally, sugar/sucrose is fructose.
The bond linking the glucose and fructose subunits in sucrose is cleaved immediately by an enzyme in the stomach. From that point on, the fructose subunit is no different from fructose found in fruit (or HFCS for that matter) and handled identically by the liver.
Except the volume of refined sugar you find in processed foods/drinks containing sugar generally far exceeds the amount of fructose found in intact fruit, while also lacking any protective soluble fiber.
"Sucrose, a disaccharide, is a sugar composed of glucose and fructose subunits" - wikipedia page for sucrose
Fruit juice isn't great, because it makes it easier to consume a larger amount of sugar (but it's better than soda).