how was it named?
The name was coined from terms like "ground or candied sugar", "shakar", "sucre", "sugar".
Sugar
The etymology reflects the spread of the commodity. From Sanskrit ("śarkarā"), meaning "ground or candied sugar", came Persian "shakar", then to 12th century French "sucre" and the English "sugar".

The English word "jaggery", a coarse brown sugar made from date palm sap or sugarcane juice, has a similar etymological origin: Portuguese "jágara" from the Malayalam "cakkarā", which is from the Sanskrit "śarkarā".
whats the difference between sugar and sugar cane Sugar cane is the crop grown to extract sugar and  processed to make sugar crystals.
wiki:19674654
Sugar [SEP] Etymology
The etymology reflects the spread of the commodity. From Sanskrit ("śarkarā"), meaning "ground or candied sugar", came Persian "shakar", then to 12th century French "sucre" and the English "sugar". The English word "jaggery", a coarse brown sugar made from date palm sap or sugarcane juice, has a similar etymological origin: Portuguese "jágara" from the Malayalam "cakkarā", which is from the Sanskrit "śarkarā".