You first wash the cane/sugar beet. Then you crush them to get as much juice out as possible. This juice contains a lot of sugar, but at this stage there is also a lot of water (hence why it is juice...
Assuming that you are asking about cubes made from white sugar, then the difference between sugar made from beet or cane is nonexistent. Both are pure sucrose; they don't really have a distinguishing...